fine_print 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b85dc2f146980af79e449e2b6ddf27baf5968df56ebabf1ebf34819f5bcc3b80
4
- data.tar.gz: dabc834b4c2bdfc7a18bfec22360dfef9a64c76731aa5497257642bb4d69a7eb
3
+ metadata.gz: 4fd549a9da32be7fbcd00889269df758f240a145bfcfcd078a6ba737ca6005ec
4
+ data.tar.gz: 552868ffc39873c1ede17ee97d370d7493308705f5a86d4a342bdd6a6548784e
5
5
  SHA512:
6
- metadata.gz: 1b53d9d64e3820e6842166b21e44837a02d5d526d6b107cd4831f199b36efed791646d2158227852397d701ac722dc64ed50abffe25d23918179949d103770af
7
- data.tar.gz: b3990f072bf7c6bde599019f8fdaa09e9cf43bac17559bb955bc75b6ce4455ffa3e0e8088aa87acacfb7af40de66a7b05f48f4bbb7ecaafdb97cd66da6c670ed
6
+ metadata.gz: 02c0bcb1a797a808fbd341a9c1bbda83882c97370b3b5da86ccd8dbfac652e2547deaac602388dc6d0e8b27fe8912173bd1fc9b331e7e69cde2109f72d0cb0b9
7
+ data.tar.gz: be274310675b4cd6c35bb82d2497e864810edb476981ece50a566a176cfd5839d8f7ae97d591f0f1e313ab515d192a3f5002eef21a6aea537b83658901fd400d
data/lib/fine_print.rb CHANGED
@@ -62,7 +62,7 @@ module FinePrint
62
62
 
63
63
  contract = get_contract(contract)
64
64
 
65
- contract.signatures.where(user_id: user.id, user_type: user.class.name).exists?
65
+ contract.signatures.where(user_id: user.id, user_type: user.class.base_class.name).exists?
66
66
  end
67
67
 
68
68
  # Returns true iff the given user has signed any version of the given contract
@@ -74,7 +74,7 @@ module FinePrint
74
74
  contract = get_contract(contract)
75
75
 
76
76
  contract.same_name.joins(:signatures).where(
77
- fine_print_signatures: { user_id: user.id, user_type: user.class.name }
77
+ fine_print_signatures: { user_id: user.id, user_type: user.class.base_class.name }
78
78
  ).exists?
79
79
  end
80
80
 
@@ -93,7 +93,7 @@ module FinePrint
93
93
 
94
94
  contracts = latest_published_contracts(conditions)
95
95
  contracts.joins(:signatures).where(
96
- fine_print_signatures: { user_id: user.id, user_type: user.class.name }
96
+ fine_print_signatures: { user_id: user.id, user_type: user.class.base_class.name }
97
97
  )
98
98
  end
99
99
 
@@ -1,3 +1,3 @@
1
1
  module FinePrint
2
- VERSION = '4.0.0'
2
+ VERSION = '4.0.1'
3
3
  end
Binary file
@@ -883,3 +883,894 @@ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
883
883
  FinePrint::Contract Update (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 12], ["updated_at", "2018-06-20 16:46:30.946876"], ["id", 54]]
884
884
   (0.8ms) commit transaction
885
885
  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_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", 71], ["user_type", "DummyUser"]]
886
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
887
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
888
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
889
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
890
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
891
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
892
+  (0.1ms) DROP TABLE IF EXISTS "dummy_users"
893
+  (0.1ms) SELECT sqlite_version(*)
894
+  (1.9ms) CREATE TABLE "dummy_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime)
895
+  (0.1ms) DROP TABLE IF EXISTS "fine_print_contracts"
896
+  (1.2ms) 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)
897
+  (1.1ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")
898
+  (0.1ms) DROP TABLE IF EXISTS "fine_print_signatures"
899
+  (1.1ms) CREATE TABLE "fine_print_signatures" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_type" varchar NOT NULL, "user_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime, "is_implicit" boolean DEFAULT 0 NOT NULL)
900
+  (1.1ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")
901
+  (1.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")
902
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
903
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
904
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (1000)
905
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES
906
+ (0),
907
+ (1);
908
+
909
+ 
910
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
911
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
912
+  (0.1ms) begin transaction
913
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-06-20 19:00:37.899828"], ["updated_at", "2018-06-20 19:00:37.899828"]]
914
+  (0.8ms) commit transaction
915
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
916
+  (0.0ms) begin transaction
917
+  (0.0ms) commit transaction
918
+ 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 ? [["name", "consequatur_illo_sit"], ["LIMIT", 1]]
919
+  (0.0ms) begin transaction
920
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "consequatur_illo_sit"], ["LIMIT", 1]]
921
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "consequatur_illo_sit"], ["version", 1], ["title", "Nostrum ipsa nobis"], ["content", "Minima nihil quod ipsa recusandae sint omnis qui. Et et velit sunt ut odio. Numquam placeat ea nihil eveniet. Recusandae omnis aut quaerat excepturi ut quisquam vel.\nExpedita quisquam beatae. Animi voluptas pariatur modi laborum voluptatem ut. Consequatur corrupti placeat cumque dolore optio pariatur. Explicabo est eum nisi recusandae non. Temporibus in eius enim laudantium numquam pariatur porro.\nEst ab est consequuntur. Odio alias quia dolore velit ea. Dolores voluptatum maxime. Laudantium voluptas qui odio neque ut."], ["created_at", "2018-06-20 19:00:40.693745"], ["updated_at", "2018-06-20 19:00:40.693745"]]
922
+  (1.9ms) commit transaction
923
+ 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 ? [["name", "consequatur_illo_sit"], ["LIMIT", 1]]
924
+  (0.0ms) begin transaction
925
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "consequatur_illo_sit"], ["title", "Nostrum ipsa nobis"], ["content", "Minima nihil quod ipsa recusandae sint omnis qui. Et et velit sunt ut odio. Numquam placeat ea nihil eveniet. Recusandae omnis aut quaerat excepturi ut quisquam vel.\nExpedita quisquam beatae. Animi voluptas pariatur modi laborum voluptatem ut. Consequatur corrupti placeat cumque dolore optio pariatur. Explicabo est eum nisi recusandae non. Temporibus in eius enim laudantium numquam pariatur porro.\nEst ab est consequuntur. Odio alias quia dolore velit ea. Dolores voluptatum maxime. Laudantium voluptas qui odio neque ut."], ["created_at", "2018-06-20 19:00:40.699252"], ["updated_at", "2018-06-20 19:00:40.699252"]]
926
+  (1.1ms) commit transaction
927
+ 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 ? [["name", "consequatur_illo_sit"], ["LIMIT", 1]]
928
+  (0.1ms) begin transaction
929
+ FinePrint::Contract Exists (0.6ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 2], ["id", 2], ["name", "consequatur_illo_sit"], ["LIMIT", 1]]
930
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 2], ["LIMIT", 1]]
931
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2018-06-20 19:00:40.707727"], ["id", 2]]
932
+  (1.0ms) commit transaction
933
+ 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 ? [["name", "nihil_enim_consequuntur"], ["LIMIT", 1]]
934
+  (0.0ms) begin transaction
935
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "nihil_enim_consequuntur"], ["LIMIT", 1]]
936
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "nihil_enim_consequuntur"], ["version", 1], ["title", "Dolor quo aut"], ["content", "Id labore placeat ut doloremque facilis ducimus minus. Voluptatibus est ipsam error et quis nihil repudiandae. Consectetur laboriosam consequatur sunt voluptatem. Natus autem quasi odio illum incidunt consequatur voluptatem. Natus repellendus est maxime assumenda pariatur.\nFuga sit autem cupiditate nihil. Non sit ullam nostrum est. Sit fuga rerum tenetur explicabo voluptatem dicta nobis. Aspernatur non sit voluptas. Nihil eius similique eos earum sed.\nTempora recusandae fugiat temporibus sit eius ipsum. Hic illum sequi. Aut quibusdam consectetur cumque ut."], ["created_at", "2018-06-20 19:00:40.716877"], ["updated_at", "2018-06-20 19:00:40.716877"]]
937
+  (0.8ms) commit transaction
938
+ 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 ? [["name", "nihil_enim_consequuntur"], ["LIMIT", 1]]
939
+  (0.0ms) begin transaction
940
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "joe"], ["title", "Dolor quo aut"], ["content", "Id labore placeat ut doloremque facilis ducimus minus. Voluptatibus est ipsam error et quis nihil repudiandae. Consectetur laboriosam consequatur sunt voluptatem. Natus autem quasi odio illum incidunt consequatur voluptatem. Natus repellendus est maxime assumenda pariatur.\nFuga sit autem cupiditate nihil. Non sit ullam nostrum est. Sit fuga rerum tenetur explicabo voluptatem dicta nobis. Aspernatur non sit voluptas. Nihil eius similique eos earum sed.\nTempora recusandae fugiat temporibus sit eius ipsum. Hic illum sequi. Aut quibusdam consectetur cumque ut."], ["created_at", "2018-06-20 19:00:40.720011"], ["updated_at", "2018-06-20 19:00:40.720011"]]
941
+  (1.1ms) commit transaction
942
+ 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 ? [["name", "joe"], ["LIMIT", 1]]
943
+  (0.0ms) begin transaction
944
+ FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 4], ["name", "joe"], ["LIMIT", 1]]
945
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 4], ["LIMIT", 1]]
946
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:40.724476"], ["id", 4]]
947
+  (0.9ms) commit transaction
948
+  (0.1ms) begin transaction
949
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "42"], ["title", "Odio ut ratione"], ["content", "Laudantium occaecati quo quam veniam. Quam minus laudantium et repellat voluptas dolor. Libero blanditiis sed provident voluptatum possimus.\nNon tenetur qui ratione sint suscipit et nisi. Dolores nam suscipit quidem assumenda vero dolorum. Rerum sint nobis omnis sapiente. Perspiciatis qui eaque id.\nQui commodi omnis sit dolore beatae omnis doloribus. Eos laboriosam laborum et quasi illo. Omnis enim esse harum dolorem exercitationem. Id rerum non. Quaerat quas voluptatem voluptatum qui fugiat."], ["created_at", "2018-06-20 19:00:40.728835"], ["updated_at", "2018-06-20 19:00:40.728835"]]
950
+  (0.9ms) commit transaction
951
+ 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 ? [["name", "42"], ["LIMIT", 1]]
952
+  (0.0ms) begin transaction
953
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 5], ["name", "42"], ["LIMIT", 1]]
954
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 5], ["LIMIT", 1]]
955
+ FinePrint::Contract Update (0.4ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:40.732615"], ["id", 5]]
956
+  (0.9ms) commit transaction
957
+  (0.1ms) begin transaction
958
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "enim_vero_reprehenderit"], ["title", "Quod praesentium ad"], ["content", "Deserunt qui sint doloribus et enim reiciendis. Quibusdam eveniet adipisci fuga praesentium. Consequatur temporibus aspernatur modi tempore deleniti sed dolor.\nOfficia et et id quam. Repudiandae aut magni dolorem voluptates. Deserunt similique et sunt eligendi occaecati cupiditate.\nConsequatur quis voluptatem excepturi aperiam quia eos natus. Dolores tenetur ut quas unde dolores exercitationem. Quos dolorem et nostrum aut alias doloribus sed."], ["created_at", "2018-06-20 19:00:40.737777"], ["updated_at", "2018-06-20 19:00:40.737777"]]
959
+  (0.9ms) commit transaction
960
+ 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 ? [["name", "enim_vero_reprehenderit"], ["LIMIT", 1]]
961
+  (0.0ms) begin transaction
962
+ FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 6], ["name", "enim_vero_reprehenderit"], ["LIMIT", 1]]
963
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 6], ["LIMIT", 1]]
964
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:40.741908"], ["id", 6]]
965
+  (1.0ms) commit transaction
966
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 6], ["LIMIT", 1]]
967
+  (0.0ms) begin transaction
968
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 6], ["user_type", "DummyUser"], ["LIMIT", 1]]
969
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:40.760651"], ["updated_at", "2018-06-20 19:00:40.760651"]]
970
+ FinePrint::Signature Create (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["user_type", "DummyUser"], ["user_id", 1], ["created_at", "2018-06-20 19:00:40.761429"], ["updated_at", "2018-06-20 19:00:40.761429"]]
971
+  (1.0ms) commit transaction
972
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
973
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 6], ["LIMIT", 1]]
974
+  (0.0ms) begin transaction
975
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 6], ["name", "enim_vero_reprehenderit"], ["LIMIT", 1]]
976
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 6], ["LIMIT", 1]]
977
+  (0.0ms) rollback transaction
978
+ 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 ? [["name", "enim_vero_reprehenderit"], ["LIMIT", 1]]
979
+  (0.1ms) begin transaction
980
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 6], ["LIMIT", 1]]
981
+  (0.0ms) rollback transaction
982
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
983
+  (0.0ms) begin transaction
984
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "dolor_mollitia_ut"], ["title", "Alias odio eveniet"], ["content", "Sint ullam ut quas quod consequuntur. Cumque molestiae quibusdam et qui soluta. Libero repudiandae omnis non.\nOdio aspernatur perspiciatis et modi. Eum soluta et eius vero reiciendis in. Voluptas mollitia magni fugit sit dolorem voluptatibus minima.\nOdio consequatur fugit natus repudiandae neque ipsum. Qui illo doloremque minus reprehenderit similique. Est sapiente veritatis facere modi tenetur cumque ipsam."], ["created_at", "2018-06-20 19:00:40.772525"], ["updated_at", "2018-06-20 19:00:40.772525"]]
985
+  (1.1ms) commit transaction
986
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 7], ["LIMIT", 1]]
987
+ 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 ? [["name", "dolor_mollitia_ut"], ["LIMIT", 1]]
988
+  (0.0ms) begin transaction
989
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 7], ["name", "dolor_mollitia_ut"], ["LIMIT", 1]]
990
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 7], ["LIMIT", 1]]
991
+ FinePrint::Contract Update (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:40.777921"], ["id", 7]]
992
+  (0.9ms) commit transaction
993
+ 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 ? [["name", "dolor_mollitia_ut"], ["LIMIT", 1]]
994
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 7], ["LIMIT", 1]]
995
+ 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 ? [["name", "dolor_mollitia_ut"], ["LIMIT", 1]]
996
+  (0.0ms) begin transaction
997
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 7], ["LIMIT", 1]]
998
+ FinePrint::Contract Update (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2018-06-20 19:00:40.782848"], ["id", 7]]
999
+  (0.9ms) commit transaction
1000
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1001
+  (0.0ms) begin transaction
1002
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "alpha"], ["LIMIT", 1]]
1003
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["version", 1], ["title", "Natus et qui"], ["content", "Iure minus eveniet natus ut. Hic iusto ipsum ut sunt. Reiciendis ut sit qui officiis libero. Asperiores nihil nesciunt vitae vero sint. Sunt consequatur hic rerum.\nVeniam voluptatem aperiam cumque sunt enim. Labore corporis voluptatum reiciendis quia perspiciatis cumque. Fugit assumenda ducimus exercitationem similique. Minus asperiores ea fugit exercitationem veniam occaecati. Quos fuga dolor maiores.\nNihil ut totam. Blanditiis eligendi praesentium expedita consequatur quis qui magni. Sequi iste voluptate nam possimus. Accusantium est ut a dolorem aspernatur amet ad."], ["created_at", "2018-06-20 19:00:40.792424"], ["updated_at", "2018-06-20 19:00:40.792424"]]
1004
+  (1.2ms) commit transaction
1005
+ 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 ? [["name", "beta"], ["LIMIT", 1]]
1006
+  (0.0ms) begin transaction
1007
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "beta"], ["LIMIT", 1]]
1008
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["version", 1], ["title", "Possimus sed omnis"], ["content", "Sit minima aperiam laudantium quis veritatis non laborum. Tempore qui itaque nemo in. Non consequatur hic. Aut dolorem aperiam.\nPlaceat dolore sit. Repellat repellendus esse cumque qui porro. Iusto fugit incidunt velit eos veritatis. Quaerat fuga tempora ea ex. Sit corporis non et quas earum.\nOdio commodi repudiandae voluptates incidunt. Sed et optio temporibus sit quod laborum error. Est voluptate quaerat qui labore ab hic. Tempora expedita aut officia quod."], ["created_at", "2018-06-20 19:00:40.798061"], ["updated_at", "2018-06-20 19:00:40.798061"]]
1009
+  (0.9ms) commit transaction
1010
+  (0.0ms) begin transaction
1011
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:40.800151"], ["updated_at", "2018-06-20 19:00:40.800151"]]
1012
+  (0.8ms) commit transaction
1013
+  (0.1ms) begin transaction
1014
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 8], ["user_type", "DummyUser"], ["user_id", 2], ["LIMIT", 1]]
1015
+ FinePrint::Signature Create (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["user_type", "DummyUser"], ["user_id", 2], ["created_at", "2018-06-20 19:00:40.804008"], ["updated_at", "2018-06-20 19:00:40.804008"]]
1016
+  (1.0ms) commit transaction
1017
+  (0.0ms) begin transaction
1018
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 9], ["user_type", "DummyUser"], ["user_id", 2], ["LIMIT", 1]]
1019
+ FinePrint::Signature Create (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 9], ["user_type", "DummyUser"], ["user_id", 2], ["created_at", "2018-06-20 19:00:40.807634"], ["updated_at", "2018-06-20 19:00:40.807634"]]
1020
+  (0.9ms) commit transaction
1021
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1022
+  (0.0ms) begin transaction
1023
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Natus et qui"], ["content", "foo"], ["created_at", "2018-06-20 19:00:40.810716"], ["updated_at", "2018-06-20 19:00:40.810716"]]
1024
+  (1.0ms) commit transaction
1025
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1026
+  (0.0ms) begin transaction
1027
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 2], ["id", 10], ["name", "alpha"], ["LIMIT", 1]]
1028
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 10], ["LIMIT", 1]]
1029
+ FinePrint::Contract Update (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2018-06-20 19:00:40.814743"], ["id", 10]]
1030
+  (0.9ms) commit transaction
1031
+ 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 (?, ?) 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 [["name", "alpha"], ["name", "beta"]]
1032
+ 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 (?, ?) 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 [["name", "alpha"], ["name", "beta"], ["user_id", 2], ["user_type", "DummyUser"]]
1033
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1034
+  (0.0ms) begin transaction
1035
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 3], ["name", "alpha"], ["LIMIT", 1]]
1036
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["version", 3], ["title", "Nihil natus quam"], ["content", "Est et pariatur. Illum quas velit laborum cumque minima distinctio atque. Perspiciatis quo est dicta est.\nFacere asperiores ut non excepturi autem molestiae. Distinctio consequatur totam quisquam in voluptas. Est iste officia porro enim qui sequi tenetur. Explicabo laboriosam dolores accusamus exercitationem aut dignissimos. Enim cum autem.\nIure nesciunt nostrum consequuntur praesentium ab odit sit. Voluptatibus quae praesentium reprehenderit eum dolores magni sint. Cum sint provident aut quod. Deserunt eos asperiores tempore ut expedita iure unde. Quia rerum iure aut illum sed eos ut."], ["created_at", "2018-06-20 19:00:40.826830"], ["updated_at", "2018-06-20 19:00:40.826830"]]
1037
+  (1.3ms) commit transaction
1038
+ 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 ? [["name", "beta"], ["LIMIT", 1]]
1039
+  (0.0ms) begin transaction
1040
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 2], ["name", "beta"], ["LIMIT", 1]]
1041
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["version", 2], ["title", "Quisquam et consequuntur"], ["content", "Facere id vitae assumenda voluptates. Non quia sit. Voluptate distinctio ad. Assumenda tenetur quibusdam.\nAtque sit eum similique velit consectetur eaque veniam. Vel veritatis ducimus consequuntur. Reiciendis ea modi sed ut ad fugit. At nihil quos saepe in eveniet cum sed.\nFugiat consequatur dicta sit asperiores veniam numquam dolorum. Veritatis corrupti voluptates et dolore quibusdam recusandae. Sunt at quia sit voluptatum expedita voluptatem velit. Qui ut voluptatibus."], ["created_at", "2018-06-20 19:00:40.832120"], ["updated_at", "2018-06-20 19:00:40.832120"]]
1042
+  (1.1ms) commit transaction
1043
+  (0.0ms) begin transaction
1044
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:40.834639"], ["updated_at", "2018-06-20 19:00:40.834639"]]
1045
+  (0.8ms) commit transaction
1046
+  (0.0ms) begin transaction
1047
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 11], ["user_type", "DummyUser"], ["user_id", 3], ["LIMIT", 1]]
1048
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["user_type", "DummyUser"], ["user_id", 3], ["created_at", "2018-06-20 19:00:40.838566"], ["updated_at", "2018-06-20 19:00:40.838566"]]
1049
+  (1.0ms) commit transaction
1050
+  (0.0ms) begin transaction
1051
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 12], ["user_type", "DummyUser"], ["user_id", 3], ["LIMIT", 1]]
1052
+ FinePrint::Signature Create (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 12], ["user_type", "DummyUser"], ["user_id", 3], ["created_at", "2018-06-20 19:00:40.842103"], ["updated_at", "2018-06-20 19:00:40.842103"]]
1053
+  (1.1ms) commit transaction
1054
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1055
+  (0.0ms) begin transaction
1056
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Nihil natus quam"], ["content", "foo"], ["created_at", "2018-06-20 19:00:40.845225"], ["updated_at", "2018-06-20 19:00:40.845225"]]
1057
+  (0.9ms) commit transaction
1058
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1059
+  (0.0ms) begin transaction
1060
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 4], ["id", 13], ["name", "alpha"], ["LIMIT", 1]]
1061
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 13], ["LIMIT", 1]]
1062
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 4], ["updated_at", "2018-06-20 19:00:40.849342"], ["id", 13]]
1063
+  (0.8ms) commit transaction
1064
+ 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 ? [["contract_id", 11], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1065
+ 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 ? [["contract_id", 13], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1066
+ 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 ? [["contract_id", 12], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1067
+ 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 ? [["name", "alpha"], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1068
+ FinePrint::Contract Exists (0.2ms) 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 ? [["name", "alpha"], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1069
+ FinePrint::Contract Exists (0.2ms) 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 ? [["name", "beta"], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1070
+  (0.0ms) begin transaction
1071
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 13], ["user_type", "DummyUser"], ["user_id", 3], ["LIMIT", 1]]
1072
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["user_type", "DummyUser"], ["user_id", 3], ["created_at", "2018-06-20 19:00:40.861087"], ["updated_at", "2018-06-20 19:00:40.861087"]]
1073
+  (0.9ms) commit transaction
1074
+ 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 ? [["contract_id", 11], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1075
+ 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 ? [["contract_id", 13], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1076
+ 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 ? [["contract_id", 12], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1077
+ FinePrint::Contract Exists (0.2ms) 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 ? [["name", "alpha"], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1078
+ 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 ? [["name", "alpha"], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1079
+ 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 ? [["name", "beta"], ["user_id", 3], ["user_type", "DummyUser"], ["LIMIT", 1]]
1080
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1081
+  (0.0ms) begin transaction
1082
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 5], ["name", "alpha"], ["LIMIT", 1]]
1083
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["version", 5], ["title", "Accusamus quos aliquid"], ["content", "Fugiat beatae corrupti non fugit laudantium quo et. Est autem laborum aperiam vero et assumenda ea. Perspiciatis sit corrupti facilis autem. Minima placeat nisi.\nFacilis velit incidunt. Rerum numquam libero saepe. Quaerat qui cumque eum exercitationem eos. Enim voluptates eos nisi nostrum occaecati.\nEaque cum eius id odio. Blanditiis aut soluta deserunt voluptas dolorem rerum quidem. Voluptatibus voluptatem ipsam aut ea. Pariatur alias voluptatibus itaque blanditiis officia ut. Fugiat sed animi consequatur tempora."], ["created_at", "2018-06-20 19:00:40.876090"], ["updated_at", "2018-06-20 19:00:40.876090"]]
1084
+  (1.1ms) commit transaction
1085
+ 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 ? [["name", "beta"], ["LIMIT", 1]]
1086
+  (0.0ms) begin transaction
1087
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 3], ["name", "beta"], ["LIMIT", 1]]
1088
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["version", 3], ["title", "Minus atque voluptas"], ["content", "Debitis velit error. Vitae eligendi accusamus quia dolor quas. Repellat a quis repudiandae ut. Numquam veniam facilis modi asperiores occaecati fugiat.\nQui autem reiciendis sunt dolorum repudiandae molestiae. Esse iste et soluta a doloribus magni. Rem non voluptas eius. Ea provident repellat quis. Fugit illo enim.\nEt est sed. Consequuntur aliquam animi doloribus. Temporibus tenetur libero iure velit."], ["created_at", "2018-06-20 19:00:40.881450"], ["updated_at", "2018-06-20 19:00:40.881450"]]
1089
+  (1.0ms) commit transaction
1090
+  (0.0ms) begin transaction
1091
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:40.883684"], ["updated_at", "2018-06-20 19:00:40.883684"]]
1092
+  (0.8ms) commit transaction
1093
+  (0.1ms) begin transaction
1094
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 14], ["user_type", "DummyUser"], ["user_id", 4], ["LIMIT", 1]]
1095
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["user_type", "DummyUser"], ["user_id", 4], ["created_at", "2018-06-20 19:00:40.887521"], ["updated_at", "2018-06-20 19:00:40.887521"]]
1096
+  (1.1ms) commit transaction
1097
+  (0.0ms) begin transaction
1098
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 15], ["user_type", "DummyUser"], ["user_id", 4], ["LIMIT", 1]]
1099
+ FinePrint::Signature Create (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 15], ["user_type", "DummyUser"], ["user_id", 4], ["created_at", "2018-06-20 19:00:40.891074"], ["updated_at", "2018-06-20 19:00:40.891074"]]
1100
+  (0.9ms) commit transaction
1101
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1102
+  (0.0ms) begin transaction
1103
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Accusamus quos aliquid"], ["content", "foo"], ["created_at", "2018-06-20 19:00:40.894004"], ["updated_at", "2018-06-20 19:00:40.894004"]]
1104
+  (0.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 ? [["name", "alpha"], ["LIMIT", 1]]
1106
+  (0.0ms) begin transaction
1107
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 6], ["id", 16], ["name", "alpha"], ["LIMIT", 1]]
1108
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 16], ["LIMIT", 1]]
1109
+ FinePrint::Contract Update (0.4ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 6], ["updated_at", "2018-06-20 19:00:40.897931"], ["id", 16]]
1110
+  (0.9ms) commit transaction
1111
+ 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_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", 4], ["user_type", "DummyUser"]]
1112
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1113
+  (0.0ms) begin transaction
1114
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 7], ["name", "alpha"], ["LIMIT", 1]]
1115
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["version", 7], ["title", "Blanditiis et voluptatum"], ["content", "Dolor odio deleniti alias eligendi consectetur. Enim facere exercitationem et consequatur dolores aut. Incidunt et et rerum. Inventore ex sunt sed officiis non aperiam vel.\nModi vero consequatur. Numquam vero et maxime ratione doloremque. Quasi aut sed.\nDeserunt unde et doloribus exercitationem. Inventore ut in exercitationem sint doloremque tempore autem. Qui sunt et ipsam eos vel. Quaerat quasi vel iste aut."], ["created_at", "2018-06-20 19:00:40.911153"], ["updated_at", "2018-06-20 19:00:40.911153"]]
1116
+  (1.1ms) commit transaction
1117
+ 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 ? [["name", "beta"], ["LIMIT", 1]]
1118
+  (0.0ms) begin transaction
1119
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 4], ["name", "beta"], ["LIMIT", 1]]
1120
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["version", 4], ["title", "Consequatur ipsam et"], ["content", "Ratione non laboriosam omnis laudantium quam soluta. Minus sunt id aut impedit neque eligendi quia. Praesentium nesciunt inventore doloremque odio. Nisi itaque repellat.\nQuo enim autem dolorum. Optio amet aut velit quaerat laudantium. Animi non consequatur sapiente est distinctio ut.\nQuia dolorem officia fugit qui ut aperiam mollitia. Fugiat quasi consequatur sit provident maxime tempore consequuntur. Voluptas quis quia."], ["created_at", "2018-06-20 19:00:40.916590"], ["updated_at", "2018-06-20 19:00:40.916590"]]
1121
+  (1.0ms) commit transaction
1122
+  (0.0ms) begin transaction
1123
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:40.918896"], ["updated_at", "2018-06-20 19:00:40.918896"]]
1124
+  (0.9ms) commit transaction
1125
+  (0.0ms) begin transaction
1126
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 17], ["user_type", "DummyUser"], ["user_id", 5], ["LIMIT", 1]]
1127
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["user_type", "DummyUser"], ["user_id", 5], ["created_at", "2018-06-20 19:00:40.923133"], ["updated_at", "2018-06-20 19:00:40.923133"]]
1128
+  (1.1ms) commit transaction
1129
+  (0.0ms) begin transaction
1130
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 18], ["user_type", "DummyUser"], ["user_id", 5], ["LIMIT", 1]]
1131
+ FinePrint::Signature Create (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 18], ["user_type", "DummyUser"], ["user_id", 5], ["created_at", "2018-06-20 19:00:40.926783"], ["updated_at", "2018-06-20 19:00:40.926783"]]
1132
+  (1.0ms) commit transaction
1133
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1134
+  (0.0ms) begin transaction
1135
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Blanditiis et voluptatum"], ["content", "foo"], ["created_at", "2018-06-20 19:00:40.929757"], ["updated_at", "2018-06-20 19:00:40.929757"]]
1136
+  (0.9ms) commit transaction
1137
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1138
+  (0.0ms) begin transaction
1139
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 8], ["id", 19], ["name", "alpha"], ["LIMIT", 1]]
1140
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 19], ["LIMIT", 1]]
1141
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 8], ["updated_at", "2018-06-20 19:00:40.933816"], ["id", 19]]
1142
+  (0.9ms) commit transaction
1143
+  (0.0ms) begin transaction
1144
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 19], ["user_type", "DummyUser"], ["user_id", 5], ["LIMIT", 1]]
1145
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 19], ["user_type", "DummyUser"], ["user_id", 5], ["created_at", "2018-06-20 19:00:40.938923"], ["updated_at", "2018-06-20 19:00:40.938923"]]
1146
+  (0.9ms) commit transaction
1147
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1148
+  (0.1ms) begin transaction
1149
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 9], ["name", "alpha"], ["LIMIT", 1]]
1150
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["version", 9], ["title", "Quas iusto aut"], ["content", "Illo natus enim sint. Expedita perspiciatis maxime velit quaerat modi. Quasi esse ipsam. Adipisci doloremque nemo qui recusandae qui odit deleniti. Alias quaerat quae ipsum voluptatem consequatur consequuntur velit.\nIllum non est. Neque qui dignissimos sint. Culpa et optio sint id.\nAnimi dolor maxime voluptas. Optio incidunt mollitia. Dolorem laboriosam itaque vel animi non. Voluptatum non nobis."], ["created_at", "2018-06-20 19:00:40.945078"], ["updated_at", "2018-06-20 19:00:40.945078"]]
1151
+  (0.9ms) commit transaction
1152
+ 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 ? [["name", "beta"], ["LIMIT", 1]]
1153
+  (0.0ms) begin transaction
1154
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 5], ["name", "beta"], ["LIMIT", 1]]
1155
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["version", 5], ["title", "Fugiat consequuntur sit"], ["content", "Quia excepturi eum laudantium qui quidem vitae. Recusandae exercitationem qui. Suscipit vero error praesentium autem aut. Est qui eaque et totam velit debitis voluptatibus. Reiciendis quo placeat quo illo quibusdam.\nPerspiciatis natus quam et odio nobis sequi. Dolor sed laborum dolorum reiciendis iure ea et. Soluta rem quia iusto ducimus qui ea cupiditate.\nUllam consectetur sed et qui rerum. Nisi qui recusandae aut adipisci. Vel aspernatur quod nesciunt qui."], ["created_at", "2018-06-20 19:00:40.950362"], ["updated_at", "2018-06-20 19:00:40.950362"]]
1156
+  (1.0ms) commit transaction
1157
+  (0.0ms) begin transaction
1158
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:40.952915"], ["updated_at", "2018-06-20 19:00:40.952915"]]
1159
+  (0.8ms) commit transaction
1160
+  (0.1ms) begin transaction
1161
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 20], ["user_type", "DummyUser"], ["user_id", 6], ["LIMIT", 1]]
1162
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["user_type", "DummyUser"], ["user_id", 6], ["created_at", "2018-06-20 19:00:40.956815"], ["updated_at", "2018-06-20 19:00:40.956815"]]
1163
+  (0.9ms) commit transaction
1164
+  (0.0ms) begin transaction
1165
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 21], ["user_type", "DummyUser"], ["user_id", 6], ["LIMIT", 1]]
1166
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["user_type", "DummyUser"], ["user_id", 6], ["created_at", "2018-06-20 19:00:40.960442"], ["updated_at", "2018-06-20 19:00:40.960442"]]
1167
+  (0.9ms) commit transaction
1168
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1169
+  (0.0ms) begin transaction
1170
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Quas iusto aut"], ["content", "foo"], ["created_at", "2018-06-20 19:00:40.963771"], ["updated_at", "2018-06-20 19:00:40.963771"]]
1171
+  (0.9ms) commit transaction
1172
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1173
+  (0.0ms) begin transaction
1174
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 10], ["id", 22], ["name", "alpha"], ["LIMIT", 1]]
1175
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 22], ["LIMIT", 1]]
1176
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 10], ["updated_at", "2018-06-20 19:00:40.967954"], ["id", 22]]
1177
+  (0.9ms) commit transaction
1178
+  (0.0ms) begin transaction
1179
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 22], ["user_type", "DummyUser"], ["user_id", 6], ["LIMIT", 1]]
1180
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at", "is_implicit") VALUES (?, ?, ?, ?, ?, ?) [["contract_id", 22], ["user_type", "DummyUser"], ["user_id", 6], ["created_at", "2018-06-20 19:00:40.973136"], ["updated_at", "2018-06-20 19:00:40.973136"], ["is_implicit", 1]]
1181
+  (1.0ms) commit transaction
1182
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1183
+  (0.0ms) begin transaction
1184
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 11], ["name", "alpha"], ["LIMIT", 1]]
1185
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["version", 11], ["title", "Incidunt rerum quia"], ["content", "Suscipit optio et temporibus. Error sunt amet minima. Pariatur dignissimos quia deleniti ut veritatis. Non voluptas magnam.\nOfficia dolor placeat. Quia commodi pariatur molestias. Et rerum deserunt.\nVelit quidem atque architecto laboriosam amet id. Pariatur autem consectetur voluptas voluptate deserunt modi. Sint dolorem reiciendis est aut quia nihil non. Quaerat debitis facere iure qui dolore rem nulla. Rem quod ab necessitatibus doloremque quia vel ex."], ["created_at", "2018-06-20 19:00:40.979366"], ["updated_at", "2018-06-20 19:00:40.979366"]]
1186
+  (1.1ms) commit transaction
1187
+ 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 ? [["name", "beta"], ["LIMIT", 1]]
1188
+  (0.0ms) begin transaction
1189
+ FinePrint::Contract Exists (0.3ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 6], ["name", "beta"], ["LIMIT", 1]]
1190
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["version", 6], ["title", "Dolores voluptates illo"], ["content", "Delectus enim saepe corrupti veniam. Id sunt earum consequatur. Debitis laudantium neque et.\nVel commodi molestiae. Praesentium nihil sint molestiae minus. Et ut autem qui. Quia rerum exercitationem facere id pariatur veritatis architecto.\nVoluptatum beatae aut. A sit dolorem consequuntur. Eius laudantium voluptatibus soluta rerum."], ["created_at", "2018-06-20 19:00:40.984897"], ["updated_at", "2018-06-20 19:00:40.984897"]]
1191
+  (1.2ms) commit transaction
1192
+  (0.0ms) begin transaction
1193
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:40.987934"], ["updated_at", "2018-06-20 19:00:40.987934"]]
1194
+  (0.9ms) commit transaction
1195
+  (0.0ms) begin transaction
1196
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 23], ["user_type", "DummyUser"], ["user_id", 7], ["LIMIT", 1]]
1197
+ FinePrint::Signature Create (0.4ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["user_type", "DummyUser"], ["user_id", 7], ["created_at", "2018-06-20 19:00:40.991451"], ["updated_at", "2018-06-20 19:00:40.991451"]]
1198
+  (1.1ms) commit transaction
1199
+  (0.0ms) begin transaction
1200
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" = ? LIMIT ? [["contract_id", 24], ["user_type", "DummyUser"], ["user_id", 7], ["LIMIT", 1]]
1201
+ FinePrint::Signature Create (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["user_type", "DummyUser"], ["user_id", 7], ["created_at", "2018-06-20 19:00:40.995075"], ["updated_at", "2018-06-20 19:00:40.995075"]]
1202
+  (1.2ms) commit transaction
1203
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1204
+  (0.1ms) begin transaction
1205
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Incidunt rerum quia"], ["content", "foo"], ["created_at", "2018-06-20 19:00:40.998472"], ["updated_at", "2018-06-20 19:00:40.998472"]]
1206
+  (1.0ms) commit transaction
1207
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1208
+  (0.0ms) begin transaction
1209
+ FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 12], ["id", 25], ["name", "alpha"], ["LIMIT", 1]]
1210
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 25], ["LIMIT", 1]]
1211
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 12], ["updated_at", "2018-06-20 19:00:41.003314"], ["id", 25]]
1212
+  (0.9ms) commit transaction
1213
+ 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 ? [["id", 24], ["LIMIT", 1]]
1214
+ 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 ? [["name", "beta"], ["LIMIT", 1]]
1215
+ 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 ? [["id", 23], ["LIMIT", 1]]
1216
+ 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 ? [["name", "alpha"], ["LIMIT", 1]]
1217
+  (0.0ms) begin transaction
1218
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.012537"], ["updated_at", "2018-06-20 19:00:41.012537"]]
1219
+  (0.9ms) commit transaction
1220
+  (0.0ms) begin transaction
1221
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.014667"], ["updated_at", "2018-06-20 19:00:41.014667"]]
1222
+  (0.9ms) commit transaction
1223
+ Processing by FinePrint::HomeController#index as HTML
1224
+ Redirected to http://test.host/fine_print/contracts
1225
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1226
+  (0.2ms) begin transaction
1227
+ DummyUser Create (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.024288"], ["updated_at", "2018-06-20 19:00:41.024288"]]
1228
+  (1.0ms) commit transaction
1229
+  (0.0ms) begin transaction
1230
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.028121"], ["updated_at", "2018-06-20 19:00:41.028121"]]
1231
+  (0.9ms) commit transaction
1232
+ Processing by FinePrint::HomeController#index as HTML
1233
+ Filter chain halted as :can_manage rendered or redirected
1234
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1235
+ Processing by FinePrint::HomeController#index as HTML
1236
+ Filter chain halted as :can_manage rendered or redirected
1237
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1238
+  (0.1ms) begin transaction
1239
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.037319"], ["updated_at", "2018-06-20 19:00:41.037319"]]
1240
+  (0.8ms) commit transaction
1241
+  (0.1ms) begin transaction
1242
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.039504"], ["updated_at", "2018-06-20 19:00:41.039504"]]
1243
+  (0.8ms) commit transaction
1244
+ 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 ? [["name", "dolor_ipsum_sit"], ["LIMIT", 1]]
1245
+  (0.0ms) begin transaction
1246
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "dolor_ipsum_sit"], ["LIMIT", 1]]
1247
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "dolor_ipsum_sit"], ["version", 1], ["title", "Ut dolore omnis"], ["content", "Et in repudiandae optio consectetur iure est perspiciatis. Modi ratione doloribus tempora voluptatem quae sapiente officia. Quo et est expedita modi dolores non repellendus.\nRepellendus dolor excepturi. Asperiores officiis voluptatem est vel. Aspernatur id consectetur.\nQui error unde et rerum. Officia non qui unde qui. Sit sequi ea ut quis reprehenderit."], ["created_at", "2018-06-20 19:00:41.044952"], ["updated_at", "2018-06-20 19:00:41.044952"]]
1248
+  (1.0ms) commit transaction
1249
+  (0.0ms) begin transaction
1250
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 26], ["user_type", "DummyUser"], ["LIMIT", 1]]
1251
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.048369"], ["updated_at", "2018-06-20 19:00:41.048369"]]
1252
+ FinePrint::Signature Create (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["user_type", "DummyUser"], ["user_id", 14], ["created_at", "2018-06-20 19:00:41.049093"], ["updated_at", "2018-06-20 19:00:41.049093"]]
1253
+  (0.9ms) commit transaction
1254
+ Processing by FinePrint::SignaturesController#new as HTML
1255
+ Parameters: {"contract_id"=>"26"}
1256
+ 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 ? [["id", 26], ["LIMIT", 1]]
1257
+ Rendering /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application
1258
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1259
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.3ms)
1260
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1261
+ Completed 200 OK in 13ms (Views: 5.8ms | ActiveRecord: 0.2ms)
1262
+  (0.0ms) begin transaction
1263
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.065826"], ["updated_at", "2018-06-20 19:00:41.065826"]]
1264
+  (1.0ms) commit transaction
1265
+  (0.1ms) begin transaction
1266
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.068286"], ["updated_at", "2018-06-20 19:00:41.068286"]]
1267
+  (1.2ms) commit transaction
1268
+ 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 ? [["name", "culpa_voluptatem_in"], ["LIMIT", 1]]
1269
+  (0.0ms) begin transaction
1270
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "culpa_voluptatem_in"], ["LIMIT", 1]]
1271
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "culpa_voluptatem_in"], ["version", 1], ["title", "Eum iusto fugit"], ["content", "Alias aut placeat dolores enim quo. Officiis molestias asperiores et sed sed. Praesentium dolore dolorem. Ut odio id quibusdam.\nPerspiciatis veniam assumenda eos voluptatem eveniet modi et. Aliquid nihil tempore voluptatem qui reiciendis et neque. Quisquam perferendis quas quasi illo voluptatem autem. Ut libero odio consequatur. Exercitationem praesentium vel.\nDolor accusamus excepturi possimus qui vel dolorum quisquam. Eius et velit cumque quia dolorum fugit quae. Sequi rerum rerum blanditiis eos qui ducimus."], ["created_at", "2018-06-20 19:00:41.075536"], ["updated_at", "2018-06-20 19:00:41.075536"]]
1272
+  (1.1ms) commit transaction
1273
+  (0.0ms) begin transaction
1274
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 27], ["user_type", "DummyUser"], ["LIMIT", 1]]
1275
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.079436"], ["updated_at", "2018-06-20 19:00:41.079436"]]
1276
+ FinePrint::Signature Create (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["user_type", "DummyUser"], ["user_id", 17], ["created_at", "2018-06-20 19:00:41.080251"], ["updated_at", "2018-06-20 19:00:41.080251"]]
1277
+  (0.8ms) commit transaction
1278
+ Processing by FinePrint::SignaturesController#new as HTML
1279
+ Parameters: {"contract_id"=>"27"}
1280
+ Filter chain halted as :can_sign rendered or redirected
1281
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
1282
+  (0.0ms) begin transaction
1283
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.084139"], ["updated_at", "2018-06-20 19:00:41.084139"]]
1284
+  (0.9ms) commit transaction
1285
+  (0.0ms) begin transaction
1286
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.086649"], ["updated_at", "2018-06-20 19:00:41.086649"]]
1287
+  (0.9ms) commit transaction
1288
+ 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 ? [["name", "sunt_distinctio_enim"], ["LIMIT", 1]]
1289
+  (0.0ms) begin transaction
1290
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "sunt_distinctio_enim"], ["LIMIT", 1]]
1291
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "sunt_distinctio_enim"], ["version", 1], ["title", "Alias delectus asperiores"], ["content", "Rerum et consectetur iste fuga sit. Consequatur dolore blanditiis saepe dignissimos consequatur eligendi. Ratione et beatae. Similique dolor nostrum at.\nEnim accusamus qui. Veritatis minima nisi aut accusantium quidem consequuntur. Magni explicabo rerum ad sequi recusandae reprehenderit beatae. Assumenda excepturi harum voluptate rem totam sapiente nostrum. Dignissimos consequatur cupiditate velit et officia accusantium.\nUt sed repellendus. Officia voluptatibus dolore suscipit et est placeat. Necessitatibus explicabo tempora qui reiciendis dolor modi sed. Eligendi ex doloremque quam sit maxime et dolor. Illum et id est ex maxime nisi tempore."], ["created_at", "2018-06-20 19:00:41.091997"], ["updated_at", "2018-06-20 19:00:41.091997"]]
1292
+  (1.4ms) commit transaction
1293
+  (0.0ms) begin transaction
1294
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 28], ["user_type", "DummyUser"], ["LIMIT", 1]]
1295
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.095809"], ["updated_at", "2018-06-20 19:00:41.095809"]]
1296
+ FinePrint::Signature Create (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 28], ["user_type", "DummyUser"], ["user_id", 20], ["created_at", "2018-06-20 19:00:41.096540"], ["updated_at", "2018-06-20 19:00:41.096540"]]
1297
+  (1.1ms) commit transaction
1298
+ Processing by FinePrint::SignaturesController#destroy as HTML
1299
+ Parameters: {"id"=>"19"}
1300
+ Filter chain halted as :can_manage rendered or redirected
1301
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1302
+ 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 ? [["id", 19], ["LIMIT", 1]]
1303
+ Processing by FinePrint::SignaturesController#destroy as HTML
1304
+ Parameters: {"id"=>"19"}
1305
+ Filter chain halted as :can_manage rendered or redirected
1306
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1307
+ 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 ? [["id", 19], ["LIMIT", 1]]
1308
+  (0.1ms) begin transaction
1309
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.107763"], ["updated_at", "2018-06-20 19:00:41.107763"]]
1310
+  (1.1ms) commit transaction
1311
+  (0.1ms) begin transaction
1312
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.110191"], ["updated_at", "2018-06-20 19:00:41.110191"]]
1313
+  (1.0ms) commit transaction
1314
+ 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 ? [["name", "rem_id_nobis"], ["LIMIT", 1]]
1315
+  (0.0ms) begin transaction
1316
+ FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "rem_id_nobis"], ["LIMIT", 1]]
1317
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "rem_id_nobis"], ["version", 1], ["title", "Vitae atque accusamus"], ["content", "Quaerat voluptatem sint sit cum officiis recusandae. Praesentium unde incidunt porro. Error rerum laborum distinctio porro id facilis laboriosam.\nEt sit qui harum. Sit tenetur aliquid ut accusamus laboriosam cum. Inventore at a ratione omnis. Ab debitis non animi sit rerum asperiores. Ex labore ipsam laudantium laborum.\nSapiente perspiciatis veritatis dicta. Iste voluptatem consectetur commodi. In adipisci rerum corporis itaque consequatur voluptas unde. Ducimus voluptas odit soluta ut laboriosam animi iste."], ["created_at", "2018-06-20 19:00:41.116277"], ["updated_at", "2018-06-20 19:00:41.116277"]]
1318
+  (1.0ms) commit transaction
1319
+  (0.1ms) begin transaction
1320
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 29], ["user_type", "DummyUser"], ["LIMIT", 1]]
1321
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.120310"], ["updated_at", "2018-06-20 19:00:41.120310"]]
1322
+ FinePrint::Signature Create (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["user_type", "DummyUser"], ["user_id", 23], ["created_at", "2018-06-20 19:00:41.121120"], ["updated_at", "2018-06-20 19:00:41.121120"]]
1323
+  (1.0ms) commit transaction
1324
+ Processing by FinePrint::SignaturesController#create as HTML
1325
+ Parameters: {"contract_id"=>"29"}
1326
+ Filter chain halted as :can_sign rendered or redirected
1327
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
1328
+  (0.0ms) begin transaction
1329
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.125058"], ["updated_at", "2018-06-20 19:00:41.125058"]]
1330
+  (1.0ms) commit transaction
1331
+  (0.1ms) begin transaction
1332
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.127362"], ["updated_at", "2018-06-20 19:00:41.127362"]]
1333
+  (1.1ms) commit transaction
1334
+ 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 ? [["name", "neque_accusamus_omnis"], ["LIMIT", 1]]
1335
+  (0.0ms) begin transaction
1336
+ FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "neque_accusamus_omnis"], ["LIMIT", 1]]
1337
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "neque_accusamus_omnis"], ["version", 1], ["title", "Dolorum optio quia"], ["content", "Sint architecto aliquid necessitatibus. Iure officiis perferendis. Quia in reiciendis repellat inventore porro nobis. Id sint non in assumenda. Ducimus itaque et exercitationem soluta.\nSed est aut quasi nisi ullam est. Nemo quos quia et enim. Est quia fugit in eos.\nAutem voluptas commodi pariatur ut. Temporibus repellendus nihil. Enim ut saepe voluptatem. Quibusdam nobis autem."], ["created_at", "2018-06-20 19:00:41.133985"], ["updated_at", "2018-06-20 19:00:41.133985"]]
1338
+  (1.0ms) commit transaction
1339
+  (0.0ms) begin transaction
1340
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 30], ["user_type", "DummyUser"], ["LIMIT", 1]]
1341
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.138136"], ["updated_at", "2018-06-20 19:00:41.138136"]]
1342
+ FinePrint::Signature Create (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["user_type", "DummyUser"], ["user_id", 26], ["created_at", "2018-06-20 19:00:41.139091"], ["updated_at", "2018-06-20 19:00:41.139091"]]
1343
+  (1.0ms) commit transaction
1344
+ Processing by FinePrint::SignaturesController#index as HTML
1345
+ Parameters: {"contract_id"=>"30"}
1346
+ 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 ? [["id", 30], ["LIMIT", 1]]
1347
+ Rendering /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/application
1348
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1349
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/application (0.2ms)
1350
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
1351
+  (0.1ms) begin transaction
1352
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.151247"], ["updated_at", "2018-06-20 19:00:41.151247"]]
1353
+  (0.9ms) commit transaction
1354
+  (0.0ms) begin transaction
1355
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.153881"], ["updated_at", "2018-06-20 19:00:41.153881"]]
1356
+  (1.0ms) commit transaction
1357
+ 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 ? [["name", "dolorem_et_fugiat"], ["LIMIT", 1]]
1358
+  (0.0ms) begin transaction
1359
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "dolorem_et_fugiat"], ["LIMIT", 1]]
1360
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "dolorem_et_fugiat"], ["version", 1], ["title", "Qui similique assumenda"], ["content", "Consectetur unde dignissimos consequatur velit. Ipsam et ducimus ullam vitae eum. Corrupti tempora debitis sunt quis eius nihil.\nEsse quam eaque odit. Dolorum quo blanditiis totam odit. Sit similique dolorum ut. Rerum occaecati non. Qui aut neque vero odit et at molestiae.\nSint qui sed enim in autem. Sunt nesciunt rerum. Eius aut est non sequi provident."], ["created_at", "2018-06-20 19:00:41.159518"], ["updated_at", "2018-06-20 19:00:41.159518"]]
1361
+  (1.0ms) commit transaction
1362
+  (0.0ms) begin transaction
1363
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 31], ["user_type", "DummyUser"], ["LIMIT", 1]]
1364
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.163104"], ["updated_at", "2018-06-20 19:00:41.163104"]]
1365
+ FinePrint::Signature Create (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 31], ["user_type", "DummyUser"], ["user_id", 29], ["created_at", "2018-06-20 19:00:41.163973"], ["updated_at", "2018-06-20 19:00:41.163973"]]
1366
+  (1.0ms) commit transaction
1367
+ Processing by FinePrint::SignaturesController#new as HTML
1368
+ Parameters: {"contract_id"=>"31"}
1369
+ 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 ? [["id", 31], ["LIMIT", 1]]
1370
+ Rendering /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application
1371
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.0ms)
1372
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
1373
+  (0.0ms) begin transaction
1374
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.170330"], ["updated_at", "2018-06-20 19:00:41.170330"]]
1375
+  (0.7ms) commit transaction
1376
+  (0.0ms) begin transaction
1377
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.172305"], ["updated_at", "2018-06-20 19:00:41.172305"]]
1378
+  (1.0ms) commit transaction
1379
+ 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 ? [["name", "sint_alias_ipsa"], ["LIMIT", 1]]
1380
+  (0.0ms) begin transaction
1381
+ FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "sint_alias_ipsa"], ["LIMIT", 1]]
1382
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "sint_alias_ipsa"], ["version", 1], ["title", "Consequatur adipisci consequatur"], ["content", "Et assumenda dicta. Qui ea soluta itaque repellat beatae. Sed deleniti veniam nobis vel ut. Maxime ullam est nesciunt.\nTotam quasi eum. Voluptatibus dolorem amet rerum et. Sit ut omnis sit repudiandae aperiam dolore.\nQuae reprehenderit quibusdam. Ut veniam repellendus at. Aut iure alias sint exercitationem saepe. Accusantium quod non commodi sed. Tenetur molestiae et mollitia qui."], ["created_at", "2018-06-20 19:00:41.178367"], ["updated_at", "2018-06-20 19:00:41.178367"]]
1383
+  (1.3ms) commit transaction
1384
+  (0.0ms) begin transaction
1385
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 32], ["user_type", "DummyUser"], ["LIMIT", 1]]
1386
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.182382"], ["updated_at", "2018-06-20 19:00:41.182382"]]
1387
+ FinePrint::Signature Create (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", 32], ["created_at", "2018-06-20 19:00:41.183154"], ["updated_at", "2018-06-20 19:00:41.183154"]]
1388
+  (0.9ms) commit transaction
1389
+ Processing by FinePrint::SignaturesController#index as HTML
1390
+ Parameters: {"contract_id"=>"32"}
1391
+ Filter chain halted as :can_manage rendered or redirected
1392
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1393
+ Processing by FinePrint::SignaturesController#index as HTML
1394
+ Parameters: {"contract_id"=>"32"}
1395
+ Filter chain halted as :can_manage rendered or redirected
1396
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1397
+  (0.1ms) begin transaction
1398
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.191097"], ["updated_at", "2018-06-20 19:00:41.191097"]]
1399
+  (0.9ms) commit transaction
1400
+  (0.0ms) begin transaction
1401
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.193487"], ["updated_at", "2018-06-20 19:00:41.193487"]]
1402
+  (1.0ms) commit transaction
1403
+ 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 ? [["name", "sunt_aperiam_omnis"], ["LIMIT", 1]]
1404
+  (0.1ms) begin transaction
1405
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "sunt_aperiam_omnis"], ["LIMIT", 1]]
1406
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "sunt_aperiam_omnis"], ["version", 1], ["title", "Cum repellat reiciendis"], ["content", "A enim aut nobis. Asperiores voluptatem a. Voluptas repellat non sed in a. Omnis iure quia voluptatem repellat nostrum. Ipsa dignissimos nobis vel aspernatur.\nOccaecati praesentium rerum est odit rerum. Esse possimus fuga modi aut maxime accusantium ipsum. Laborum ratione ipsa impedit vero explicabo. Quidem facere pariatur unde. Molestias amet et sunt repellendus id incidunt.\nDoloribus consequatur sit enim dolorum sit soluta. Consectetur laboriosam aspernatur. Doloribus voluptas sit et aspernatur rem voluptas."], ["created_at", "2018-06-20 19:00:41.199721"], ["updated_at", "2018-06-20 19:00:41.199721"]]
1407
+  (1.2ms) commit transaction
1408
+  (0.0ms) begin transaction
1409
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 33], ["user_type", "DummyUser"], ["LIMIT", 1]]
1410
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.203750"], ["updated_at", "2018-06-20 19:00:41.203750"]]
1411
+ FinePrint::Signature Create (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["user_type", "DummyUser"], ["user_id", 35], ["created_at", "2018-06-20 19:00:41.204632"], ["updated_at", "2018-06-20 19:00:41.204632"]]
1412
+  (1.3ms) commit transaction
1413
+ Processing by FinePrint::SignaturesController#destroy as HTML
1414
+ Parameters: {"id"=>"24"}
1415
+ 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 ? [["id", 24], ["LIMIT", 1]]
1416
+  (0.0ms) begin transaction
1417
+ FinePrint::Signature Destroy (0.3ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 24]]
1418
+  (0.9ms) commit transaction
1419
+ 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 ? [["id", 33], ["LIMIT", 1]]
1420
+ Redirected to http://test.host/fine_print/contracts/33/signatures
1421
+ Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
1422
+ 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 ? [["id", 24], ["LIMIT", 1]]
1423
+  (0.0ms) begin transaction
1424
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "quod_quo_iste"], ["title", "Id quaerat nemo"], ["content", "Officiis ad similique repudiandae laudantium temporibus non. Qui magnam minima. Quo suscipit aliquam numquam est doloremque omnis. Et magnam nihil quis maiores nemo rerum.\nConsequatur quisquam veritatis. Quidem voluptatem perspiciatis ipsum ratione. Expedita impedit assumenda. Voluptatem et quaerat. Maiores perspiciatis corrupti sed ratione.\nEum doloribus quia aut voluptates rerum nihil tenetur. Eveniet qui dignissimos molestias modi et. Molestiae tempore et aut error excepturi suscipit."], ["created_at", "2018-06-20 19:00:41.215456"], ["updated_at", "2018-06-20 19:00:41.215456"]]
1425
+  (1.0ms) commit transaction
1426
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 34], ["LIMIT", 1]]
1427
+ 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 ? [["name", "exercitationem_delectus_atque"], ["LIMIT", 1]]
1428
+  (0.0ms) begin transaction
1429
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["name", "exercitationem_delectus_atque"], ["LIMIT", 1]]
1430
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "version", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "exercitationem_delectus_atque"], ["version", 1], ["title", "Ut perspiciatis aperiam"], ["content", "Rerum autem eos officiis ea et sed. Voluptatem et repellendus aliquid aut repudiandae possimus iste. Repellendus ut nostrum nisi sint laborum rerum inventore.\nVoluptatibus ad dolorum et. Voluptatem sint quis cupiditate libero praesentium minima ut. Voluptatem vero rerum nostrum nihil sit natus. Et aliquid saepe animi sunt illum maiores eos. Illum a quaerat dolores.\nSequi eum numquam laborum voluptatem aliquam et. Quis sunt deserunt cupiditate quas dicta rerum nihil. Voluptas deserunt mollitia et totam repudiandae tenetur."], ["created_at", "2018-06-20 19:00:41.222400"], ["updated_at", "2018-06-20 19:00:41.222400"]]
1431
+  (1.0ms) commit transaction
1432
+  (0.0ms) begin transaction
1433
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_type" = ? AND "fine_print_signatures"."user_id" IS NULL LIMIT ? [["contract_id", 34], ["user_type", "DummyUser"], ["LIMIT", 1]]
1434
+  (0.0ms) rollback transaction
1435
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 34], ["LIMIT", 1]]
1436
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 34], ["LIMIT", 1]]
1437
+  (0.0ms) begin transaction
1438
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.228726"], ["updated_at", "2018-06-20 19:00:41.228726"]]
1439
+  (0.9ms) commit transaction
1440
+  (0.0ms) begin transaction
1441
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.230816"], ["updated_at", "2018-06-20 19:00:41.230816"]]
1442
+  (1.0ms) commit transaction
1443
+  (0.0ms) begin transaction
1444
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "voluptates_maxime_explicabo"], ["title", "Amet rerum qui"], ["content", "Animi dolore vel possimus nihil alias vel qui. Et ut velit qui est dolorem rerum. Excepturi culpa dolores perspiciatis ut quae architecto amet. Similique reprehenderit nihil. Deleniti non voluptatem suscipit est.\nNostrum error et eligendi. Sit totam sint unde quia nobis hic quis. Reprehenderit sed deleniti pariatur voluptatem eos qui.\nQui autem assumenda ipsum magni consequatur quia. Ut quos similique unde voluptas eum rem quo. Voluptatem itaque non."], ["created_at", "2018-06-20 19:00:41.233963"], ["updated_at", "2018-06-20 19:00:41.233963"]]
1445
+  (1.0ms) commit transaction
1446
+ Processing by FinePrint::ContractsController#create as HTML
1447
+ Parameters: {"contract"=>"attributes"}
1448
+ Filter chain halted as :can_manage rendered or redirected
1449
+ Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
1450
+ Processing by FinePrint::ContractsController#create as HTML
1451
+ Parameters: {"contract"=>"attributes"}
1452
+ Filter chain halted as :can_manage rendered or redirected
1453
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1454
+  (0.1ms) begin transaction
1455
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.243719"], ["updated_at", "2018-06-20 19:00:41.243719"]]
1456
+  (0.9ms) commit transaction
1457
+  (0.0ms) begin transaction
1458
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.246156"], ["updated_at", "2018-06-20 19:00:41.246156"]]
1459
+  (0.7ms) commit transaction
1460
+  (0.0ms) begin transaction
1461
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "omnis_incidunt_tempora"], ["title", "Quia laudantium ut"], ["content", "Omnis ut amet odit sunt magnam aperiam est. Ea ab ut sed qui recusandae autem. Dicta quia aut dolores nobis.\nQuos neque illum qui eveniet aut. Quae beatae laboriosam earum sequi dolore velit. Aut odit rerum consequatur.\nMinus sit laudantium hic deleniti omnis. Qui dolorum temporibus autem et in ratione ullam. Quae iure culpa. Placeat libero ad consequatur sit quaerat adipisci similique."], ["created_at", "2018-06-20 19:00:41.249239"], ["updated_at", "2018-06-20 19:00:41.249239"]]
1462
+  (0.9ms) commit transaction
1463
+ Processing by FinePrint::ContractsController#index as HTML
1464
+ Filter chain halted as :can_manage rendered or redirected
1465
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1466
+ Processing by FinePrint::ContractsController#index as HTML
1467
+ Filter chain halted as :can_manage rendered or redirected
1468
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1469
+  (0.0ms) begin transaction
1470
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.254970"], ["updated_at", "2018-06-20 19:00:41.254970"]]
1471
+  (0.8ms) commit transaction
1472
+  (0.0ms) begin transaction
1473
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.257128"], ["updated_at", "2018-06-20 19:00:41.257128"]]
1474
+  (0.7ms) commit transaction
1475
+  (0.0ms) begin transaction
1476
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "repellendus_natus_id"], ["title", "Doloremque nostrum id"], ["content", "Voluptatibus quis debitis non omnis doloribus. Inventore quidem veniam. Quia deserunt sit quibusdam aliquam neque.\nQuibusdam tempore rerum qui. At ratione labore. Rem officiis iure pariatur neque perspiciatis. Nemo sapiente neque. Vel est odio eum explicabo.\nQui voluptatem aut ad dolorem corporis sint. Veritatis omnis accusamus. Amet quidem deserunt sequi cum quis."], ["created_at", "2018-06-20 19:00:41.260223"], ["updated_at", "2018-06-20 19:00:41.260223"]]
1477
+  (1.0ms) commit transaction
1478
+ Processing by FinePrint::ContractsController#update as HTML
1479
+ Parameters: {"contract"=>{"content"=>"Another content", "name"=>"another_name", "title"=>"Another title"}, "id"=>"38"}
1480
+ 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 ? [["id", 38], ["LIMIT", 1]]
1481
+  (0.1ms) begin transaction
1482
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 38], ["LIMIT", 1]]
1483
+ FinePrint::Contract Update (0.3ms) 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", "2018-06-20 19:00:41.265506"], ["id", 38]]
1484
+  (0.8ms) commit transaction
1485
+ Redirected to http://test.host/fine_print/contracts/38
1486
+ Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
1487
+ FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 38], ["LIMIT", 1]]
1488
+  (0.0ms) begin transaction
1489
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.272565"], ["updated_at", "2018-06-20 19:00:41.272565"]]
1490
+  (0.8ms) commit transaction
1491
+  (0.0ms) begin transaction
1492
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.275038"], ["updated_at", "2018-06-20 19:00:41.275038"]]
1493
+  (0.7ms) commit transaction
1494
+  (0.0ms) begin transaction
1495
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "culpa_nobis_nisi"], ["title", "Laudantium voluptates dolor"], ["content", "Et dolorem nulla ad beatae debitis rerum. Aut cumque dolorem. Voluptates rem rerum aut animi.\nQuo sed blanditiis. Dolorum ipsa minima ipsam voluptatibus nostrum. Blanditiis neque et corrupti esse et.\nDolor aut corrupti facere adipisci. Occaecati sed consequatur. Maxime odio enim dolor corrupti. Nulla velit ut provident libero natus."], ["created_at", "2018-06-20 19:00:41.277845"], ["updated_at", "2018-06-20 19:00:41.277845"]]
1496
+  (0.9ms) commit transaction
1497
+ Processing by FinePrint::ContractsController#update as HTML
1498
+ Parameters: {"contract"=>{"content"=>"Another content", "name"=>"another_name", "title"=>"Another title"}, "id"=>"39"}
1499
+ Filter chain halted as :can_manage rendered or redirected
1500
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1501
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 39], ["LIMIT", 1]]
1502
+ Processing by FinePrint::ContractsController#update as HTML
1503
+ Parameters: {"contract"=>{"content"=>"Another content", "name"=>"another_name", "title"=>"Another title"}, "id"=>"39"}
1504
+ Filter chain halted as :can_manage rendered or redirected
1505
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1506
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 39], ["LIMIT", 1]]
1507
+  (0.0ms) begin transaction
1508
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.284190"], ["updated_at", "2018-06-20 19:00:41.284190"]]
1509
+  (1.0ms) commit transaction
1510
+  (0.1ms) begin transaction
1511
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.286804"], ["updated_at", "2018-06-20 19:00:41.286804"]]
1512
+  (0.9ms) commit transaction
1513
+  (0.0ms) begin transaction
1514
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "earum_vel_maiores"], ["title", "Beatae sunt est"], ["content", "Autem accusantium ipsum enim sint quis repellendus error. Cupiditate autem qui nihil quod incidunt. Dolor non possimus et harum sit beatae ex. Voluptatum nihil et ut rerum. Nihil alias dolore enim non et provident.\nConsequatur et et ipsam. Et ut inventore quo amet. Quis atque magni ipsum. Dolore similique ea molestias vitae illum ipsam culpa.\nAut esse ut ullam. Ut quidem qui aut nam veniam. Facere dignissimos temporibus est."], ["created_at", "2018-06-20 19:00:41.289976"], ["updated_at", "2018-06-20 19:00:41.289976"]]
1515
+  (1.1ms) commit transaction
1516
+ Processing by FinePrint::ContractsController#edit as HTML
1517
+ Parameters: {"id"=>"40"}
1518
+ 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 ? [["id", 40], ["LIMIT", 1]]
1519
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 40], ["LIMIT", 1]]
1520
+ Rendering /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/edit.html.erb within layouts/application
1521
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1522
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/edit.html.erb within layouts/application (0.2ms)
1523
+ Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms)
1524
+  (0.0ms) begin transaction
1525
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.301256"], ["updated_at", "2018-06-20 19:00:41.301256"]]
1526
+  (1.0ms) commit transaction
1527
+  (0.1ms) begin transaction
1528
+ DummyUser Create (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.303804"], ["updated_at", "2018-06-20 19:00:41.303804"]]
1529
+  (1.5ms) commit transaction
1530
+  (0.1ms) begin transaction
1531
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "tempore_laborum_consectetur"], ["title", "Qui id officia"], ["content", "Hic quaerat exercitationem quo. Aperiam eum maxime voluptate. Consequuntur et sunt. Qui sequi laudantium aut vel.\nQui cum quia laborum quos. Ut vero delectus eligendi. Perferendis quis distinctio eos eos. Quo iure illo.\nAlias quos ipsa impedit quisquam voluptatem consequuntur velit. Voluptatem quis repellendus omnis rem. Eos voluptatem at omnis magnam et vitae. Possimus amet qui ea voluptatibus. Error molestiae occaecati voluptas."], ["created_at", "2018-06-20 19:00:41.309997"], ["updated_at", "2018-06-20 19:00:41.309997"]]
1532
+  (1.3ms) commit transaction
1533
+ Processing by FinePrint::ContractsController#destroy as HTML
1534
+ Parameters: {"id"=>"41"}
1535
+ 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 ? [["id", 41], ["LIMIT", 1]]
1536
+  (0.0ms) begin transaction
1537
+ FinePrint::Signature Load (0.2ms) 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", 41]]
1538
+ FinePrint::Contract Destroy (0.4ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 41]]
1539
+  (1.0ms) commit transaction
1540
+ Redirected to http://test.host/fine_print/contracts
1541
+ Completed 302 Found in 5ms (ActiveRecord: 1.7ms)
1542
+ 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 ? [["id", 41], ["LIMIT", 1]]
1543
+  (0.0ms) begin transaction
1544
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.321099"], ["updated_at", "2018-06-20 19:00:41.321099"]]
1545
+  (1.0ms) commit transaction
1546
+  (0.0ms) begin transaction
1547
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.323661"], ["updated_at", "2018-06-20 19:00:41.323661"]]
1548
+  (0.8ms) commit transaction
1549
+  (0.0ms) begin transaction
1550
+ FinePrint::Contract Create (0.5ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "ut_ad_voluptates"], ["title", "Laudantium ex magni"], ["content", "Impedit sed est aliquid minima. Harum inventore voluptatem. Dolore officiis dolores doloremque est.\nHarum ut delectus. Voluptas id aut. Temporibus maiores quae distinctio qui magni vel perferendis. Eum ea tempora earum est explicabo dolorem porro.\nEveniet voluptatem eos eius quia ut enim. Ab suscipit voluptatem. Vel dicta quam eligendi. Non quo rem et vel voluptas eligendi mollitia. Eaque molestiae ut aut libero hic repudiandae."], ["created_at", "2018-06-20 19:00:41.326613"], ["updated_at", "2018-06-20 19:00:41.326613"]]
1551
+  (1.0ms) commit transaction
1552
+ Processing by FinePrint::ContractsController#index as HTML
1553
+ FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
1554
+ FinePrint::Signature Load (0.4ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 5], ["contract_id", 25], ["contract_id", 23], ["contract_id", 22], ["contract_id", 20], ["contract_id", 19], ["contract_id", 17], ["contract_id", 16], ["contract_id", 14], ["contract_id", 13], ["contract_id", 11], ["contract_id", 10], ["contract_id", 8], ["contract_id", 38], ["contract_id", 24], ["contract_id", 21], ["contract_id", 18], ["contract_id", 15], ["contract_id", 12], ["contract_id", 9], ["contract_id", 2], ["contract_id", 1], ["contract_id", 39], ["contract_id", 27], ["contract_id", 26], ["contract_id", 7], ["contract_id", 31], ["contract_id", 40], ["contract_id", 6], ["contract_id", 35], ["contract_id", 4], ["contract_id", 30], ["contract_id", 3], ["contract_id", 37], ["contract_id", 34], ["contract_id", 29], ["contract_id", 32], ["contract_id", 33], ["contract_id", 28], ["contract_id", 42], ["contract_id", 36]]
1555
+ Rendering /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/index.html.erb within layouts/application
1556
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1557
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/index.html.erb within layouts/application (0.2ms)
1558
+ Completed 200 OK in 14ms (Views: 0.7ms | ActiveRecord: 0.8ms)
1559
+  (0.0ms) begin transaction
1560
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.344498"], ["updated_at", "2018-06-20 19:00:41.344498"]]
1561
+  (0.8ms) commit transaction
1562
+  (0.0ms) begin transaction
1563
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.346624"], ["updated_at", "2018-06-20 19:00:41.346624"]]
1564
+  (0.7ms) commit transaction
1565
+  (0.0ms) begin transaction
1566
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "aliquid_qui_fugit"], ["title", "Veritatis modi magnam"], ["content", "Sint adipisci officiis earum ipsam corrupti ullam. Voluptatibus ut nobis voluptas. Et id sed incidunt eaque est. Non eos reiciendis.\nExpedita dicta soluta itaque deserunt. Aut et debitis. Excepturi voluptas sequi ut consectetur. Cum dicta debitis velit.\nMaxime inventore repellat molestiae eius ducimus delectus qui. Eveniet magnam praesentium autem et provident atque eum. Voluptatibus accusantium reiciendis magnam accusamus eos omnis harum. Sit quaerat quasi non quia."], ["created_at", "2018-06-20 19:00:41.349598"], ["updated_at", "2018-06-20 19:00:41.349598"]]
1567
+  (1.0ms) commit transaction
1568
+ Processing by FinePrint::ContractsController#create as HTML
1569
+ Parameters: {"contract"=>{"content"=>"Some content", "name"=>"some_name", "title"=>"Some title"}}
1570
+  (0.0ms) begin transaction
1571
+ FinePrint::Contract Create (0.5ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["created_at", "2018-06-20 19:00:41.353572"], ["updated_at", "2018-06-20 19:00:41.353572"]]
1572
+  (1.0ms) commit transaction
1573
+ Redirected to http://test.host/fine_print/contracts/44
1574
+ Completed 302 Found in 4ms (ActiveRecord: 1.6ms)
1575
+  (0.0ms) begin transaction
1576
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.358471"], ["updated_at", "2018-06-20 19:00:41.358471"]]
1577
+  (1.0ms) commit transaction
1578
+  (0.0ms) begin transaction
1579
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.360763"], ["updated_at", "2018-06-20 19:00:41.360763"]]
1580
+  (1.0ms) commit transaction
1581
+  (0.1ms) begin transaction
1582
+ FinePrint::Contract Create (0.5ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "et_distinctio_sapiente"], ["title", "Fugiat excepturi aut"], ["content", "Cum voluptatem illo deleniti quisquam saepe voluptatibus. Exercitationem repudiandae facere atque. Sequi eligendi reprehenderit eum harum facere nulla. Iure nisi ex aut laboriosam reiciendis quia voluptas.\nDeserunt distinctio fugit maiores delectus aut hic. Voluptatibus laudantium et sequi a deserunt voluptatem quia. Ut iste laudantium quo. Voluptas libero odit. Nemo sit minima et.\nEt neque ex. Quo velit ducimus odit voluptatibus consequatur dolores et. Veritatis culpa minus deserunt. Est cum ipsa odio. Et tempore optio ut magnam aut dolorem voluptas."], ["created_at", "2018-06-20 19:00:41.364627"], ["updated_at", "2018-06-20 19:00:41.364627"]]
1583
+  (1.1ms) commit transaction
1584
+ Processing by FinePrint::ContractsController#destroy as HTML
1585
+ Parameters: {"id"=>"45"}
1586
+ Filter chain halted as :can_manage rendered or redirected
1587
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1588
+ 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 ? [["id", 45], ["LIMIT", 1]]
1589
+ Processing by FinePrint::ContractsController#destroy as HTML
1590
+ Parameters: {"id"=>"45"}
1591
+ Filter chain halted as :can_manage rendered or redirected
1592
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1593
+ 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 ? [["id", 45], ["LIMIT", 1]]
1594
+  (0.0ms) begin transaction
1595
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.373025"], ["updated_at", "2018-06-20 19:00:41.373025"]]
1596
+  (0.8ms) commit transaction
1597
+  (0.0ms) begin transaction
1598
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.375075"], ["updated_at", "2018-06-20 19:00:41.375075"]]
1599
+  (0.8ms) commit transaction
1600
+  (0.0ms) begin transaction
1601
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "sint_quisquam_voluptatem"], ["title", "Ab omnis placeat"], ["content", "Porro nam ea harum minus expedita et. Dignissimos dolorem sunt voluptas est. In nam nihil quo omnis.\nDolorem debitis aut nesciunt qui. Aut non nemo sint a id cumque voluptatem. Adipisci quod sed impedit recusandae nulla. Corrupti optio consequatur quia excepturi aut.\nSequi hic quibusdam qui velit est autem. Facere dolore reiciendis voluptate. In tenetur repellat accusamus provident vel voluptatem. Vel et non porro ad."], ["created_at", "2018-06-20 19:00:41.377958"], ["updated_at", "2018-06-20 19:00:41.377958"]]
1602
+  (1.0ms) commit transaction
1603
+ Processing by FinePrint::ContractsController#publish as HTML
1604
+ Parameters: {"id"=>"46"}
1605
+ Filter chain halted as :can_manage rendered or redirected
1606
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1607
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 46], ["LIMIT", 1]]
1608
+ Processing by FinePrint::ContractsController#publish as HTML
1609
+ Parameters: {"id"=>"46"}
1610
+ Filter chain halted as :can_manage rendered or redirected
1611
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1612
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 46], ["LIMIT", 1]]
1613
+  (0.0ms) begin transaction
1614
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.384194"], ["updated_at", "2018-06-20 19:00:41.384194"]]
1615
+  (0.9ms) commit transaction
1616
+  (0.1ms) begin transaction
1617
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.386617"], ["updated_at", "2018-06-20 19:00:41.386617"]]
1618
+  (0.9ms) commit transaction
1619
+  (0.0ms) begin transaction
1620
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "sed_nihil_ab"], ["title", "Voluptatem at est"], ["content", "Hic corrupti eum saepe quod natus quos animi. Eaque eum sed. Facere quibusdam qui eos asperiores odit.\nIn iure laboriosam accusamus et perspiciatis eligendi. Sit unde repudiandae. Non quo aut doloremque excepturi enim odit. Consequatur in dolorem ad aut doloremque eius voluptatem.\nMinus aut porro omnis mollitia ea. Et sed qui rerum consequatur. Impedit eos aut aliquam."], ["created_at", "2018-06-20 19:00:41.389502"], ["updated_at", "2018-06-20 19:00:41.389502"]]
1621
+  (1.0ms) commit transaction
1622
+ Processing by FinePrint::ContractsController#publish as HTML
1623
+ Parameters: {"id"=>"47"}
1624
+ 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 ? [["id", 47], ["LIMIT", 1]]
1625
+ 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 ? [["name", "sed_nihil_ab"], ["LIMIT", 1]]
1626
+  (0.1ms) begin transaction
1627
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 47], ["name", "sed_nihil_ab"], ["LIMIT", 1]]
1628
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 47], ["LIMIT", 1]]
1629
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:41.395693"], ["id", 47]]
1630
+  (1.1ms) commit transaction
1631
+ Redirected to http://test.host/fine_print/contracts
1632
+ Completed 302 Found in 6ms (ActiveRecord: 1.9ms)
1633
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 47], ["LIMIT", 1]]
1634
+  (0.0ms) begin transaction
1635
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.401395"], ["updated_at", "2018-06-20 19:00:41.401395"]]
1636
+  (0.9ms) commit transaction
1637
+  (0.0ms) begin transaction
1638
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.403798"], ["updated_at", "2018-06-20 19:00:41.403798"]]
1639
+  (0.9ms) commit transaction
1640
+  (0.1ms) begin transaction
1641
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "aut_eos_aliquam"], ["title", "Dolor aut ut"], ["content", "Saepe porro necessitatibus ut quidem repudiandae. Saepe enim natus. Facere eos consequatur.\nEt eum occaecati ut ipsa architecto corrupti. Eum odit asperiores. Eligendi aut aperiam iusto.\nSuscipit aspernatur consectetur quibusdam quam perspiciatis. Et id ex soluta corrupti. Amet provident cum architecto harum voluptas quam. In natus et voluptatem. Sunt velit deserunt labore."], ["created_at", "2018-06-20 19:00:41.407069"], ["updated_at", "2018-06-20 19:00:41.407069"]]
1642
+  (1.1ms) commit transaction
1643
+ 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 ? [["name", "aut_eos_aliquam"], ["LIMIT", 1]]
1644
+  (0.0ms) begin transaction
1645
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 48], ["name", "aut_eos_aliquam"], ["LIMIT", 1]]
1646
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 48], ["LIMIT", 1]]
1647
+ FinePrint::Contract Update (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:41.411487"], ["id", 48]]
1648
+  (0.9ms) commit transaction
1649
+ Processing by FinePrint::ContractsController#unpublish as HTML
1650
+ Parameters: {"id"=>"48"}
1651
+ 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 ? [["id", 48], ["LIMIT", 1]]
1652
+ 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 ? [["name", "aut_eos_aliquam"], ["LIMIT", 1]]
1653
+  (0.0ms) begin transaction
1654
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 48], ["LIMIT", 1]]
1655
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2018-06-20 19:00:41.417469"], ["id", 48]]
1656
+  (0.9ms) commit transaction
1657
+ Redirected to http://test.host/fine_print/contracts
1658
+ Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
1659
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 48], ["LIMIT", 1]]
1660
+  (0.0ms) begin transaction
1661
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.423277"], ["updated_at", "2018-06-20 19:00:41.423277"]]
1662
+  (0.9ms) commit transaction
1663
+  (0.0ms) begin transaction
1664
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.425298"], ["updated_at", "2018-06-20 19:00:41.425298"]]
1665
+  (0.8ms) commit transaction
1666
+  (0.0ms) begin transaction
1667
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "nam_corporis_placeat"], ["title", "Et voluptatem nihil"], ["content", "Facere veritatis non possimus tempore est tempora ipsa. Explicabo est error velit ea quia. Rerum beatae corporis enim. Unde ex iste delectus vel ipsum placeat rerum.\nUt accusamus esse. Repudiandae nobis blanditiis. Voluptatibus iusto est voluptatum ut magnam eos assumenda.\nOdio sed voluptatem et corporis. Qui enim adipisci debitis. Esse minus animi modi possimus omnis voluptatibus. Alias dolores cumque voluptates omnis quia. Est aliquid soluta vero et nostrum nobis."], ["created_at", "2018-06-20 19:00:41.428255"], ["updated_at", "2018-06-20 19:00:41.428255"]]
1668
+  (0.9ms) commit transaction
1669
+ 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 ? [["name", "nam_corporis_placeat"], ["LIMIT", 1]]
1670
+  (0.0ms) begin transaction
1671
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 49], ["name", "nam_corporis_placeat"], ["LIMIT", 1]]
1672
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 49], ["LIMIT", 1]]
1673
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:41.432153"], ["id", 49]]
1674
+  (1.0ms) commit transaction
1675
+ Processing by FinePrint::ContractsController#new_version as HTML
1676
+ Parameters: {"id"=>"49"}
1677
+ Filter chain halted as :can_manage rendered or redirected
1678
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1679
+ Processing by FinePrint::ContractsController#new_version as HTML
1680
+ Parameters: {"id"=>"49"}
1681
+ Filter chain halted as :can_manage rendered or redirected
1682
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1683
+  (0.0ms) begin transaction
1684
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.438475"], ["updated_at", "2018-06-20 19:00:41.438475"]]
1685
+  (0.9ms) commit transaction
1686
+  (0.1ms) begin transaction
1687
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.440705"], ["updated_at", "2018-06-20 19:00:41.440705"]]
1688
+  (0.8ms) commit transaction
1689
+  (0.0ms) begin transaction
1690
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "cumque_doloribus_velit"], ["title", "Est natus incidunt"], ["content", "Rerum provident similique nihil rerum aut nam magnam. Non veritatis quo vitae enim omnis voluptas. Dolore nisi odit occaecati.\nQuasi doloremque aut autem. Dolorem autem doloremque deleniti voluptatibus consectetur vel dolores. Ut aut ea doloremque beatae et similique.\nVoluptatem placeat rem voluptatem. Id blanditiis aspernatur qui. Ipsam quod a in."], ["created_at", "2018-06-20 19:00:41.443527"], ["updated_at", "2018-06-20 19:00:41.443527"]]
1691
+  (1.0ms) commit transaction
1692
+ Processing by FinePrint::ContractsController#new as HTML
1693
+ Rendering /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/application
1694
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1695
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/application (0.4ms)
1696
+ Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1697
+  (0.1ms) begin transaction
1698
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.455671"], ["updated_at", "2018-06-20 19:00:41.455671"]]
1699
+  (0.9ms) commit transaction
1700
+  (0.0ms) begin transaction
1701
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.458142"], ["updated_at", "2018-06-20 19:00:41.458142"]]
1702
+  (0.7ms) commit transaction
1703
+  (0.0ms) begin transaction
1704
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "nihil_dolorem_recusandae"], ["title", "Vero autem laudantium"], ["content", "Neque quo maxime ex ut voluptates qui aperiam. Odio iste optio nobis sunt harum quia. Et ullam rem ex eos officiis voluptates soluta. Voluptatem aliquid rerum qui soluta. Non earum rerum dignissimos occaecati et aut.\nAmet et quos at. Aperiam laudantium aut qui quisquam reiciendis consequatur. Illo et earum perferendis. Officia numquam eius voluptatem rerum quo. Voluptas pariatur facilis.\nQui dolore dolores sit dolores. Animi dolores iure. Molestias sint eaque."], ["created_at", "2018-06-20 19:00:41.461225"], ["updated_at", "2018-06-20 19:00:41.461225"]]
1705
+  (0.9ms) commit transaction
1706
+ Processing by FinePrint::ContractsController#edit as HTML
1707
+ Parameters: {"id"=>"51"}
1708
+ Filter chain halted as :can_manage rendered or redirected
1709
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1710
+ Processing by FinePrint::ContractsController#edit as HTML
1711
+ Parameters: {"id"=>"51"}
1712
+ Filter chain halted as :can_manage rendered or redirected
1713
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1714
+  (0.0ms) begin transaction
1715
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.466678"], ["updated_at", "2018-06-20 19:00:41.466678"]]
1716
+  (0.8ms) commit transaction
1717
+  (0.1ms) begin transaction
1718
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.469220"], ["updated_at", "2018-06-20 19:00:41.469220"]]
1719
+  (1.0ms) commit transaction
1720
+  (0.1ms) begin transaction
1721
+ FinePrint::Contract Create (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "voluptatem_reiciendis_minima"], ["title", "Autem ut nostrum"], ["content", "Consequuntur rem rerum doloremque non eum. Libero delectus mollitia ex voluptates aliquid laudantium. Ipsam id culpa tenetur quidem maiores. Voluptate eligendi et eveniet nobis soluta quibusdam. Non voluptas exercitationem tenetur dolore labore magnam explicabo.\nEsse blanditiis qui est quam nihil molestiae. Vel aut itaque. Qui tempore maxime consequatur asperiores magnam accusantium. Consequatur laboriosam est.\nDistinctio explicabo rem aspernatur iure aut. Aut saepe quibusdam inventore. Ea distinctio totam et vel doloremque voluptatem facere."], ["created_at", "2018-06-20 19:00:41.473361"], ["updated_at", "2018-06-20 19:00:41.473361"]]
1722
+  (0.9ms) commit transaction
1723
+ 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 ? [["name", "voluptatem_reiciendis_minima"], ["LIMIT", 1]]
1724
+  (0.1ms) begin transaction
1725
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 52], ["name", "voluptatem_reiciendis_minima"], ["LIMIT", 1]]
1726
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 52], ["LIMIT", 1]]
1727
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:41.478455"], ["id", 52]]
1728
+  (0.8ms) commit transaction
1729
+ Processing by FinePrint::ContractsController#new_version as HTML
1730
+ Parameters: {"id"=>"52"}
1731
+ 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 ? [["id", 52], ["LIMIT", 1]]
1732
+ 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 ? [["name", "voluptatem_reiciendis_minima"], ["LIMIT", 1]]
1733
+ Rendering /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/application
1734
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1735
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/application (0.3ms)
1736
+ Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 0.2ms)
1737
+  (0.0ms) begin transaction
1738
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.494020"], ["updated_at", "2018-06-20 19:00:41.494020"]]
1739
+  (0.9ms) commit transaction
1740
+  (0.0ms) begin transaction
1741
+ DummyUser Create (0.4ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.496303"], ["updated_at", "2018-06-20 19:00:41.496303"]]
1742
+  (0.9ms) commit transaction
1743
+  (0.1ms) begin transaction
1744
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "aliquid_ea_in"], ["title", "Et quia quibusdam"], ["content", "Voluptatum distinctio temporibus autem. Quam itaque consequatur voluptatibus consequuntur omnis. Inventore animi consequatur. Excepturi blanditiis minus cum. Qui a rem iste non asperiores optio.\nDicta deserunt rerum voluptas soluta ut eos. Tempora harum omnis quia. Voluptas occaecati omnis ut et et officia et. Placeat aut quis provident. Quasi ea voluptatum rerum.\nUt voluptate ab dolore provident iusto. Dolores ratione dolorem fuga quis et. Omnis quisquam rerum modi ipsam."], ["created_at", "2018-06-20 19:00:41.499688"], ["updated_at", "2018-06-20 19:00:41.499688"]]
1745
+  (0.9ms) commit transaction
1746
+ 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 ? [["name", "aliquid_ea_in"], ["LIMIT", 1]]
1747
+  (0.1ms) begin transaction
1748
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE LOWER("fine_print_contracts"."version") = LOWER(?) AND "fine_print_contracts"."id" != ? AND "fine_print_contracts"."name" = ? LIMIT ? [["version", 1], ["id", 53], ["name", "aliquid_ea_in"], ["LIMIT", 1]]
1749
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT ? [["contract_id", 53], ["LIMIT", 1]]
1750
+ FinePrint::Contract Update (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2018-06-20 19:00:41.504380"], ["id", 53]]
1751
+  (0.9ms) commit transaction
1752
+ Processing by FinePrint::ContractsController#unpublish as HTML
1753
+ Parameters: {"id"=>"53"}
1754
+ Filter chain halted as :can_manage rendered or redirected
1755
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1756
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 53], ["LIMIT", 1]]
1757
+ Processing by FinePrint::ContractsController#unpublish as HTML
1758
+ Parameters: {"id"=>"53"}
1759
+ Filter chain halted as :can_manage rendered or redirected
1760
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1761
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT ? [["id", 53], ["LIMIT", 1]]
1762
+  (0.1ms) begin transaction
1763
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.511181"], ["updated_at", "2018-06-20 19:00:41.511181"]]
1764
+  (0.9ms) commit transaction
1765
+  (0.0ms) begin transaction
1766
+ DummyUser Create (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-06-20 19:00:41.513234"], ["updated_at", "2018-06-20 19:00:41.513234"]]
1767
+  (0.9ms) commit transaction
1768
+  (0.0ms) begin transaction
1769
+ FinePrint::Contract Create (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "consequuntur_rem_fuga"], ["title", "Repudiandae distinctio molestias"], ["content", "Vel sunt dolorem deserunt nihil veniam adipisci est. Velit accusantium quia reprehenderit et accusamus sint aut. Voluptates sed quia sunt rerum. Nostrum consectetur enim id earum iste praesentium.\nSunt provident excepturi dolores id. Error quae ratione. Rerum soluta beatae et at sed praesentium occaecati.\nMolestiae commodi ut facilis nihil error. Quis impedit perspiciatis culpa. Nihil facere dolore numquam sunt eius."], ["created_at", "2018-06-20 19:00:41.516009"], ["updated_at", "2018-06-20 19:00:41.516009"]]
1770
+  (1.3ms) commit transaction
1771
+ Processing by FinePrint::ContractsController#new as HTML
1772
+ Filter chain halted as :can_manage rendered or redirected
1773
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1774
+ Processing by FinePrint::ContractsController#new as HTML
1775
+ Filter chain halted as :can_manage rendered or redirected
1776
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)