fine_print 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -50374,3 +50374,1696 @@ Completed 200 OK in 1.0ms (Views: 0.9ms | ActiveRecord: 0.0ms)
50374
50374
  FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50375
50375
   (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50376
50376
   (0.1ms) rollback transaction
50377
+ Connecting to database specified by database.yml
50378
+  (0.2ms) begin transaction
50379
+  (0.0ms) SAVEPOINT active_record_1
50380
+ SQL (1.6ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:41 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:41 UTC +00:00]]
50381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50382
+  (0.0ms) SAVEPOINT active_record_1
50383
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:41 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:41 UTC +00:00]]
50384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50385
+  (0.0ms) SAVEPOINT active_record_1
50386
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_435773bd') LIMIT 1
50387
+ SQL (0.4ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Eos aut officia accusantium possimus labore rerum est. Labore sapiente soluta necessitatibus optio consequatur sequi delectus. Et nisi est debitis non et fugiat dolorum. Magni voluptatem ea molestias sunt sit quos vero. Quis consequatur inventore nobis.", "Qui est dolor ea. Sed cum dolor et explicabo hic illo. Facere ratione accusamus qui quia rerum. Consequatur sit maxime repellat."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_435773bd"], ["title", "Ut quam iste tempore consectetur."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50389
+  (0.1ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50390
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_435773bd' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50391
+  (0.0ms) SAVEPOINT active_record_1
50392
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_435773bd') LIMIT 1
50393
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.052202' WHERE "fine_print_contracts"."id" = 1
50394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50395
+  (0.0ms) SAVEPOINT active_record_1
50396
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50398
+  (0.1ms) SAVEPOINT active_record_1
50399
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
50400
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
50401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50402
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
50403
+ Processing by FinePrint::SignaturesController#index as HTML
50404
+ Redirected to http://test.host/
50405
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
50406
+ Processing by FinePrint::SignaturesController#index as HTML
50407
+ Redirected to http://test.host/
50408
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50409
+  (0.1ms) rollback transaction
50410
+  (0.0ms) begin transaction
50411
+  (0.0ms) SAVEPOINT active_record_1
50412
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50414
+  (0.0ms) SAVEPOINT active_record_1
50415
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50417
+  (0.0ms) SAVEPOINT active_record_1
50418
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_11ba49b6') LIMIT 1
50419
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Est sit nesciunt distinctio aut. Fugiat sequi accusantium dolor. Eum voluptatem libero modi. Aperiam cum magni.", "Blanditiis eligendi officia eum. Fuga dolorem qui sint assumenda. Nihil voluptate tempora qui. Magnam pariatur consequatur quia. Facere natus id ea ut dolor."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_11ba49b6"], ["title", "Provident explicabo adipisci temporibus repellendus."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50421
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50422
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_11ba49b6' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50423
+  (0.0ms) SAVEPOINT active_record_1
50424
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_11ba49b6') LIMIT 1
50425
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.088361' WHERE "fine_print_contracts"."id" = 1
50426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50427
+  (0.0ms) SAVEPOINT active_record_1
50428
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50430
+  (0.0ms) SAVEPOINT active_record_1
50431
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
50432
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
50433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50434
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
50435
+ Processing by FinePrint::SignaturesController#destroy as HTML
50436
+ Parameters: {"id"=>"1"}
50437
+ Redirected to http://test.host/
50438
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
50439
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY contract_id, user_type, user_id LIMIT 1 [["id", 1]]
50440
+ Processing by FinePrint::SignaturesController#destroy as HTML
50441
+ Parameters: {"id"=>"1"}
50442
+ Redirected to http://test.host/
50443
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50444
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY contract_id, user_type, user_id LIMIT 1 [["id", 1]]
50445
+  (0.1ms) rollback transaction
50446
+  (0.0ms) begin transaction
50447
+  (0.0ms) SAVEPOINT active_record_1
50448
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50450
+  (0.0ms) SAVEPOINT active_record_1
50451
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50453
+  (0.0ms) SAVEPOINT active_record_1
50454
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_32cbd551') LIMIT 1
50455
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Et deserunt qui eos veniam et cupiditate dolor. Sapiente et et voluptas provident vel voluptatibus fugit. Eum sit neque iste earum veniam praesentium accusamus.", "Corporis qui beatae quo. Cupiditate unde consequatur reiciendis nobis. Amet inventore aliquid odio reprehenderit tenetur. Vero repudiandae saepe ipsam aperiam hic et. Mollitia et repudiandae quaerat praesentium."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_32cbd551"], ["title", "Aperiam hic consequuntur numquam voluptatum eaque explicabo officiis."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50457
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50458
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_32cbd551' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50459
+  (0.0ms) SAVEPOINT active_record_1
50460
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_32cbd551') LIMIT 1
50461
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.100081' WHERE "fine_print_contracts"."id" = 1
50462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50463
+  (0.0ms) SAVEPOINT active_record_1
50464
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50466
+  (0.0ms) SAVEPOINT active_record_1
50467
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
50468
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
50469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50470
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
50471
+ Processing by FinePrint::SignaturesController#index as HTML
50472
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" ORDER BY contract_id, user_type, user_id
50473
+ Completed 200 OK in 3.2ms (Views: 2.8ms | ActiveRecord: 0.1ms)
50474
+  (0.1ms) rollback transaction
50475
+  (0.0ms) begin transaction
50476
+  (0.0ms) SAVEPOINT active_record_1
50477
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50479
+  (0.0ms) SAVEPOINT active_record_1
50480
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50482
+  (0.0ms) SAVEPOINT active_record_1
50483
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_0e1f20e7') LIMIT 1
50484
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Eum fugit numquam. Magni tempora voluptas. Rerum quod ut sequi. Accusantium eveniet nisi molestiae placeat quo non repudiandae.", "Aut architecto ipsam sint sed ducimus inventore dolorem. Aut cum dolores perspiciatis. Eum laboriosam fuga dolorem molestiae mollitia cum."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_0e1f20e7"], ["title", "Necessitatibus nostrum est."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50486
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50487
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_0e1f20e7' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50488
+  (0.0ms) SAVEPOINT active_record_1
50489
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_0e1f20e7') LIMIT 1
50490
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.112632' WHERE "fine_print_contracts"."id" = 1
50491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50492
+  (0.0ms) SAVEPOINT active_record_1
50493
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50495
+  (0.0ms) SAVEPOINT active_record_1
50496
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
50497
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
50498
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50499
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
50500
+ Processing by FinePrint::SignaturesController#destroy as HTML
50501
+ Parameters: {"id"=>"1"}
50502
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY contract_id, user_type, user_id LIMIT 1 [["id", "1"]]
50503
+  (0.0ms) SAVEPOINT active_record_1
50504
+ SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]
50505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50506
+ Redirected to http://test.host/fine_print/signatures
50507
+ Completed 302 Found in 1.2ms (ActiveRecord: 0.1ms)
50508
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY contract_id, user_type, user_id LIMIT 1
50509
+  (0.1ms) rollback transaction
50510
+  (0.0ms) begin transaction
50511
+  (0.0ms) SAVEPOINT active_record_1
50512
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50514
+  (0.0ms) SAVEPOINT active_record_1
50515
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50517
+ Processing by FinePrint::HomeController#index as HTML
50518
+ Completed 200 OK in 1.0ms (Views: 0.8ms | ActiveRecord: 0.0ms)
50519
+  (0.1ms) rollback transaction
50520
+  (0.0ms) begin transaction
50521
+  (0.0ms) SAVEPOINT active_record_1
50522
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50524
+  (0.0ms) SAVEPOINT active_record_1
50525
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50527
+ Processing by FinePrint::HomeController#index as HTML
50528
+ Redirected to http://test.host/
50529
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50530
+ Processing by FinePrint::HomeController#index as HTML
50531
+ Redirected to http://test.host/
50532
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50533
+  (0.1ms) rollback transaction
50534
+  (0.0ms) begin transaction
50535
+  (0.0ms) SAVEPOINT active_record_1
50536
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_2d24c781') LIMIT 1
50537
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Atque id omnis fugit nulla quibusdam. Eveniet libero odio magni. Eaque non laborum expedita et cum officiis consequatur.", "Saepe at nesciunt ut qui alias repellat. At ut inventore repellat quam. Quaerat dicta debitis et iusto sint explicabo. Suscipit voluptates consequatur impedit asperiores ullam."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_2d24c781"], ["title", "Nemo doloribus beatae neque quo dolorum quae."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50539
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50540
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2d24c781' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50541
+  (0.0ms) SAVEPOINT active_record_1
50542
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_2d24c781') LIMIT 1
50543
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.131476' WHERE "fine_print_contracts"."id" = 1
50544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50545
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2d24c781'
50546
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2d24c781'
50547
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2d24c781'
50548
+  (0.0ms) SAVEPOINT active_record_1
50549
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_2d24c781') LIMIT 1
50550
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = NULL, "updated_at" = '2013-11-13 02:49:42.134585' WHERE "fine_print_contracts"."id" = 1
50551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50552
+  (0.1ms) rollback transaction
50553
+  (0.0ms) begin transaction
50554
+  (0.0ms) SAVEPOINT active_record_1
50555
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_8a9af306') LIMIT 1
50556
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Unde esse enim reiciendis. Architecto itaque neque voluptates rem nostrum. Ipsa et laborum aspernatur. Commodi vel labore reprehenderit.", "Qui earum eum atque nihil quis reiciendis. Dolores tempora modi rerum nobis voluptates quia. Debitis excepturi officia commodi et ullam. Modi ratione fugiat repellat."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_8a9af306"], ["title", "Commodi ut molestiae dolor laboriosam magnam."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50558
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50559
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8a9af306' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50560
+  (0.0ms) SAVEPOINT active_record_1
50561
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8a9af306') LIMIT 1
50562
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.138994' WHERE "fine_print_contracts"."id" = 1
50563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50564
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8a9af306' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
50565
+  (0.0ms) SAVEPOINT active_record_1
50566
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_8a9af306') LIMIT 1
50567
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Unde esse enim reiciendis. Architecto itaque neque voluptates rem nostrum. Ipsa et laborum aspernatur. Commodi vel labore reprehenderit.", "Qui earum eum atque nihil quis reiciendis. Dolores tempora modi rerum nobis voluptates quia. Debitis excepturi officia commodi et ullam. Modi ratione fugiat repellat."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_8a9af306"], ["title", "Commodi ut molestiae dolor laboriosam magnam."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50569
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
50570
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8a9af306' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50571
+  (0.0ms) SAVEPOINT active_record_1
50572
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_8a9af306') LIMIT 1
50573
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-13 02:49:42.143157' WHERE "fine_print_contracts"."id" = 2
50574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50575
+  (0.1ms) rollback transaction
50576
+  (0.0ms) begin transaction
50577
+  (0.0ms) SAVEPOINT active_record_1
50578
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_5cef0561') LIMIT 1
50579
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Consectetur assumenda qui debitis. Eos eum saepe natus sit. Tenetur eius omnis similique enim sit nisi at.", "In dolor et itaque et sunt consequatur. Expedita quam nisi in praesentium laboriosam. Ut necessitatibus similique eum reprehenderit."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_5cef0561"], ["title", "Minus quisquam doloribus possimus sunt dolorem voluptatem id."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50581
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50582
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5cef0561' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50583
+  (0.0ms) SAVEPOINT active_record_1
50584
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5cef0561') LIMIT 1
50585
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.147506' WHERE "fine_print_contracts"."id" = 1
50586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50587
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5cef0561'
50588
+  (0.0ms) SAVEPOINT active_record_1
50589
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50591
+  (0.0ms) SAVEPOINT active_record_1
50592
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
50593
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]
50594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50595
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50596
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50597
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50598
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50599
+  (0.0ms) SAVEPOINT active_record_1
50600
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5cef0561') LIMIT 1
50601
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50602
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50603
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50604
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5cef0561'
50605
+  (0.1ms) rollback transaction
50606
+  (0.0ms) begin transaction
50607
+  (0.0ms) SAVEPOINT active_record_1
50608
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_5534760f') LIMIT 1
50609
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Sit quia amet consequatur placeat. Tempora sequi vel sunt voluptatem sunt mollitia. Necessitatibus atque aliquid rem. Quas officia sed aut eaque quae. Ut illum voluptatibus ipsa.", "Voluptatem quia dolor rerum nam quis fugiat. Facilis sit voluptatum est in voluptatem ut laudantium. Iusto odio reprehenderit non adipisci."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_5534760f"], ["title", "Itaque consequatur qui esse eius aut."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50611
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50612
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5534760f' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50613
+  (0.0ms) SAVEPOINT active_record_1
50614
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_5534760f') LIMIT 1
50615
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.158095' WHERE "fine_print_contracts"."id" = 1
50616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50617
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_5534760f' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
50618
+  (0.0ms) SAVEPOINT active_record_1
50619
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'joe') LIMIT 1
50620
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Sit quia amet consequatur placeat. Tempora sequi vel sunt voluptatem sunt mollitia. Necessitatibus atque aliquid rem. Quas officia sed aut eaque quae. Ut illum voluptatibus ipsa.", "Voluptatem quia dolor rerum nam quis fugiat. Facilis sit voluptatum est in voluptatem ut laudantium. Iusto odio reprehenderit non adipisci."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "joe"], ["title", "Itaque consequatur qui esse eius aut."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50622
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
50623
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'joe' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50624
+  (0.0ms) SAVEPOINT active_record_1
50625
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1
50626
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.161734' WHERE "fine_print_contracts"."id" = 2
50627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50628
+  (0.1ms) rollback transaction
50629
+  (0.0ms) begin transaction
50630
+  (0.0ms) SAVEPOINT active_record_1
50631
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50632
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptates qui aperiam natus perferendis sequi. Debitis sint deleniti. Ullam provident amet.", "Autem aut omnis. Adipisci quos quis. Non culpa et sit enim aliquid enim et. Impedit modi dolorem odio aliquid doloribus voluptas."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "alpha"], ["title", "Et tenetur voluptate qui ipsa."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50634
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50635
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50636
+  (0.0ms) SAVEPOINT active_record_1
50637
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50638
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.166215' WHERE "fine_print_contracts"."id" = 1
50639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50640
+  (0.0ms) SAVEPOINT active_record_1
50641
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1
50642
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Quae autem saepe. Eveniet perspiciatis odit voluptatem et culpa quos minus. Est dolorum inventore voluptatum. Est nobis totam asperiores ea. In dolores corporis qui.", "Voluptatem quia aliquam animi sed cumque fugiat non. Et beatae et alias sed. Et id quaerat. Pariatur et fuga perspiciatis non."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "beta"], ["title", "Repellendus eos voluptas."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50644
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
50645
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50646
+  (0.0ms) SAVEPOINT active_record_1
50647
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
50648
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.170286' WHERE "fine_print_contracts"."id" = 2
50649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50650
+  (0.0ms) SAVEPOINT active_record_1
50651
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
50652
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
50653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50654
+  (0.0ms) SAVEPOINT active_record_1
50655
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
50656
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
50657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50658
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
50659
+  (0.0ms) SAVEPOINT active_record_1
50660
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "alpha"], ["title", "Et tenetur voluptate qui ipsa."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50662
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3
50663
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50664
+  (0.0ms) SAVEPOINT active_record_1
50665
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50666
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-13 02:49:42.178019' WHERE "fine_print_contracts"."id" = 3
50667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50668
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 2]]
50669
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50670
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 1]]
50671
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50672
+  (0.1ms) rollback transaction
50673
+  (0.0ms) begin transaction
50674
+  (0.0ms) SAVEPOINT active_record_1
50675
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50676
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Reiciendis impedit explicabo voluptatem perspiciatis velit assumenda. Maiores eligendi ipsam alias corrupti. Facere ea nihil. Aut est earum et quis.", "Ullam a illo nobis rerum. Sed voluptatem nihil odio aut. Veritatis fuga earum autem ullam. Non fugit ipsa accusamus optio provident dolores."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "alpha"], ["title", "Exercitationem repellat id qui qui."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50678
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50679
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50680
+  (0.0ms) SAVEPOINT active_record_1
50681
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50682
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.184197' WHERE "fine_print_contracts"."id" = 1
50683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50684
+  (0.0ms) SAVEPOINT active_record_1
50685
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1
50686
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptates dolor alias voluptas sit. Assumenda cupiditate odio eum nemo. Blanditiis fugit neque quis. Temporibus est dolores quia dolorum corrupti.", "Eos sed explicabo veniam cupiditate fugiat a ipsam. Explicabo est omnis placeat rem quis. Suscipit et labore ab et laudantium sint provident. Repellendus necessitatibus tempore ex mollitia. Voluptatibus et sed."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "beta"], ["title", "Dolorum qui dolor."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50688
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
50689
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50690
+  (0.0ms) SAVEPOINT active_record_1
50691
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
50692
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.188192' WHERE "fine_print_contracts"."id" = 2
50693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50694
+  (0.0ms) SAVEPOINT active_record_1
50695
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
50696
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
50697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50698
+  (0.0ms) SAVEPOINT active_record_1
50699
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
50700
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
50701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50702
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
50703
+  (0.0ms) SAVEPOINT active_record_1
50704
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "alpha"], ["title", "Exercitationem repellat id qui qui."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50706
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3
50707
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50708
+  (0.0ms) SAVEPOINT active_record_1
50709
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50710
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-13 02:49:42.195572' WHERE "fine_print_contracts"."id" = 3
50711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50712
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
50713
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
50714
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
50715
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
50716
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
50717
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
50718
+  (0.0ms) SAVEPOINT active_record_1
50719
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
50720
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
50721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50722
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
50723
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
50724
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
50725
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
50726
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
50727
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
50728
+  (0.1ms) rollback transaction
50729
+  (0.0ms) begin transaction
50730
+  (0.0ms) SAVEPOINT active_record_1
50731
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50732
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Amet nihil est. Placeat quibusdam occaecati tenetur enim. Cupiditate tempore minima atque sunt deserunt iure.", "Dicta itaque rerum facere sit similique officia. Molestiae maxime vel asperiores qui laboriosam et doloribus. Dolores debitis exercitationem provident fuga et cum sit."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "alpha"], ["title", "Quos voluptas perferendis minima pariatur ex porro."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50734
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50735
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50736
+  (0.0ms) SAVEPOINT active_record_1
50737
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50738
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.248361' WHERE "fine_print_contracts"."id" = 1
50739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50740
+  (0.0ms) SAVEPOINT active_record_1
50741
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1
50742
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Est illo molestiae qui veniam aperiam mollitia. Sit numquam hic. Ipsum nobis labore similique earum. Est quia sed in explicabo officiis. Laborum non quam aspernatur odit ut.", "Qui delectus nisi in consectetur. Nihil qui et totam aliquid possimus nobis. Molestiae dolores expedita placeat qui. Nam impedit doloribus corrupti."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "beta"], ["title", "Ipsa dolorem inventore unde voluptatibus."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50744
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
50745
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50746
+  (0.0ms) SAVEPOINT active_record_1
50747
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
50748
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.252413' WHERE "fine_print_contracts"."id" = 2
50749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50750
+  (0.0ms) SAVEPOINT active_record_1
50751
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
50752
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
50753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50754
+  (0.0ms) SAVEPOINT active_record_1
50755
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
50756
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
50757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50758
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
50759
+  (0.0ms) SAVEPOINT active_record_1
50760
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "alpha"], ["title", "Quos voluptas perferendis minima pariatur ex porro."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50762
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3
50763
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50764
+  (0.0ms) SAVEPOINT active_record_1
50765
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
50766
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-13 02:49:42.259958' WHERE "fine_print_contracts"."id" = 3
50767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50768
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" 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"."name" IN ('beta', 'alpha') AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND ("fine_print_contracts"."version" IS NOT NULL) GROUP BY id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY name, version DESC
50769
+  (0.1ms) rollback transaction
50770
+  (0.0ms) begin transaction
50771
+  (0.0ms) SAVEPOINT active_record_1
50772
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_661892df') LIMIT 1
50773
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Doloribus et delectus molestiae. Tempore dignissimos enim illum quae aut. Quis rerum fugit tenetur. Qui dolorem incidunt sint nulla dolorum laborum voluptate. Sunt aut porro minima qui asperiores voluptatem tempora.", "Deserunt est aut reiciendis aut voluptate. Quia qui inventore minima occaecati amet. Mollitia voluptas qui perspiciatis ratione labore."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_661892df"], ["title", "Ut distinctio id illo sint officia."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50775
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50776
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_661892df' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50777
+  (0.0ms) SAVEPOINT active_record_1
50778
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_661892df') LIMIT 1
50779
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.266368' WHERE "fine_print_contracts"."id" = 1
50780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50781
+  (0.0ms) SAVEPOINT active_record_1
50782
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50784
+  (0.0ms) SAVEPOINT active_record_1
50785
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
50786
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]
50787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50788
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50789
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50790
+  (0.1ms) rollback transaction
50791
+  (0.0ms) begin transaction
50792
+  (0.0ms) SAVEPOINT active_record_1
50793
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_85f241f8') LIMIT 1
50794
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Ex quam modi inventore tenetur aut ratione. Soluta sint doloremque ut maxime ratione unde vero. Deserunt ut perspiciatis animi. A est sit nemo deserunt numquam. Nisi accusantium repellat veritatis quia.", "Voluptates dolorem quam aut accusantium ex. Sed dignissimos dolorem eligendi. Debitis eius possimus ad."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_85f241f8"], ["title", "Quia molestiae sed tenetur optio ad quis minus."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50796
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50797
+  (0.0ms) SAVEPOINT active_record_1
50798
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_357e9031') LIMIT 1
50799
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Nobis rem eum eaque. Harum neque impedit. Id odio assumenda a.", "Eum soluta consectetur sapiente. Quibusdam vitae assumenda facilis commodi quod omnis. Unde qui quo quos laboriosam quasi. Vel doloribus quos fugit molestiae."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_357e9031"], ["title", "Eos quia molestiae repellat illum."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50801
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
50802
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_357e9031' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50803
+  (0.0ms) SAVEPOINT active_record_1
50804
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_357e9031') LIMIT 1
50805
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.275369' WHERE "fine_print_contracts"."id" = 2
50806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50807
+  (0.0ms) SAVEPOINT active_record_1
50808
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50810
+  (0.0ms) SAVEPOINT active_record_1
50811
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
50812
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
50813
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50814
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50815
+  (0.1ms) rollback transaction
50816
+  (0.0ms) begin transaction
50817
+  (0.0ms) SAVEPOINT active_record_1
50818
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50820
+  (0.0ms) SAVEPOINT active_record_1
50821
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50823
+  (0.0ms) SAVEPOINT active_record_1
50824
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_0e303fde') LIMIT 1
50825
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Aut consequatur sed temporibus assumenda at doloremque. Quos et quisquam aut animi qui et molestias. Quis ea eius neque aut et. Quaerat et in et autem qui numquam. Perferendis illum vero aut earum dolore possimus est.", "Ut rem autem architecto nulla est reprehenderit. Quibusdam ut laudantium illo et et consectetur possimus. Tempore dolorum voluptas eos et."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_0e303fde"], ["title", "Culpa voluptatem nisi perspiciatis suscipit aliquid sed sint."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50827
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50828
+ Processing by FinePrint::ContractsController#update as HTML
50829
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"}
50830
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
50831
+  (0.0ms) SAVEPOINT active_record_1
50832
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1
50833
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50834
+  (0.1ms) UPDATE "fine_print_contracts" SET "name" = 'some_name', "title" = 'Some title', "content" = 'Some content', "updated_at" = '2013-11-13 02:49:42.285640' WHERE "fine_print_contracts"."id" = 1
50835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50836
+ Redirected to http://test.host/fine_print/contracts/1
50837
+ Completed 302 Found in 3.2ms (ActiveRecord: 0.2ms)
50838
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50839
+  (0.1ms) rollback transaction
50840
+  (0.0ms) begin transaction
50841
+  (0.0ms) SAVEPOINT active_record_1
50842
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50844
+  (0.0ms) SAVEPOINT active_record_1
50845
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50847
+  (0.0ms) SAVEPOINT active_record_1
50848
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f35e7c23') LIMIT 1
50849
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Ipsam labore aperiam facere sit ducimus quis tempore. Mollitia sed libero aut. Autem aliquam necessitatibus eum nesciunt at aut maxime. Impedit qui sunt quia necessitatibus dolores consequatur enim.", "Culpa quia reiciendis sint perferendis dolorum cumque. Voluptas qui necessitatibus omnis sed. Quis maiores eaque adipisci voluptas similique sit. Reprehenderit provident dolor quia eos."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_f35e7c23"], ["title", "Perferendis ipsa deserunt quis."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50851
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50852
+ Processing by FinePrint::ContractsController#destroy as HTML
50853
+ Parameters: {"id"=>"1"}
50854
+ Redirected to http://test.host/
50855
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
50856
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 1]]
50857
+ Processing by FinePrint::ContractsController#destroy as HTML
50858
+ Parameters: {"id"=>"1"}
50859
+ Redirected to http://test.host/
50860
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50861
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 1]]
50862
+  (0.1ms) rollback transaction
50863
+  (0.0ms) begin transaction
50864
+  (0.0ms) SAVEPOINT active_record_1
50865
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50867
+  (0.0ms) SAVEPOINT active_record_1
50868
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50870
+  (0.0ms) SAVEPOINT active_record_1
50871
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_dc218b12') LIMIT 1
50872
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Ut cupiditate illo. Explicabo recusandae expedita consequatur aut id. Cumque ab sapiente quo hic aliquid repellendus.", "Nam ullam dolorum impedit voluptas dolore unde. Vitae sint ut. Aperiam quis molestiae facilis provident enim impedit voluptatem. Eius et omnis."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_dc218b12"], ["title", "Maxime deleniti quo."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50873
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50874
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50875
+ Processing by FinePrint::ContractsController#new as HTML
50876
+ Redirected to http://test.host/
50877
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
50878
+ Processing by FinePrint::ContractsController#new as HTML
50879
+ Redirected to http://test.host/
50880
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50881
+  (0.1ms) rollback transaction
50882
+  (0.0ms) begin transaction
50883
+  (0.0ms) SAVEPOINT active_record_1
50884
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50886
+  (0.0ms) SAVEPOINT active_record_1
50887
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50889
+  (0.0ms) SAVEPOINT active_record_1
50890
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_22805995') LIMIT 1
50891
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Error blanditiis explicabo nulla quidem sequi. Sed velit eveniet praesentium explicabo quaerat odio et. Quae omnis autem aut iure mollitia harum asperiores. Est rerum quibusdam hic dolorum rerum nemo.", "Officia dolores et natus. Blanditiis ipsum deserunt. Libero minima est sint expedita quasi. Delectus vitae corporis et facilis dolor ea quae."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_22805995"], ["title", "Alias ut non."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50893
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50894
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50895
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_22805995' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50896
+  (0.0ms) SAVEPOINT active_record_1
50897
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_22805995') LIMIT 1
50898
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.307367' WHERE "fine_print_contracts"."id" = 1
50899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50900
+ Processing by FinePrint::ContractsController#unpublish as HTML
50901
+ Parameters: {"id"=>"1"}
50902
+ Redirected to http://test.host/
50903
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
50904
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50905
+ Processing by FinePrint::ContractsController#unpublish as HTML
50906
+ Parameters: {"id"=>"1"}
50907
+ Redirected to http://test.host/
50908
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50909
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50910
+  (0.1ms) rollback transaction
50911
+  (0.0ms) begin transaction
50912
+  (0.0ms) SAVEPOINT active_record_1
50913
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50915
+  (0.0ms) SAVEPOINT active_record_1
50916
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50917
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50918
+  (0.0ms) SAVEPOINT active_record_1
50919
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_257ad8d9') LIMIT 1
50920
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Nostrum beatae molestiae amet fuga. Vitae rerum vel sit quod. Et rerum iure quam eveniet.", "Ipsum nulla sunt. Alias exercitationem et voluptas nihil et eaque. Aut laudantium tenetur quidem quia. Praesentium sint eveniet velit pariatur voluptatem voluptatem. Ut laudantium esse dolorem molestiae."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_257ad8d9"], ["title", "Expedita dolorem et quia omnis et atque."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50922
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50923
+ Processing by FinePrint::ContractsController#publish as HTML
50924
+ Parameters: {"id"=>"1"}
50925
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
50926
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50927
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_257ad8d9' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50928
+  (0.0ms) SAVEPOINT active_record_1
50929
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_257ad8d9') LIMIT 1
50930
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.317843' WHERE "fine_print_contracts"."id" = 1
50931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50932
+ Redirected to http://test.host/fine_print/contracts
50933
+ Completed 302 Found in 3.1ms (ActiveRecord: 0.3ms)
50934
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50935
+  (0.1ms) rollback transaction
50936
+  (0.0ms) begin transaction
50937
+  (0.0ms) SAVEPOINT active_record_1
50938
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50940
+  (0.0ms) SAVEPOINT active_record_1
50941
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50943
+  (0.0ms) SAVEPOINT active_record_1
50944
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_9691969b') LIMIT 1
50945
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Autem mollitia architecto cupiditate excepturi sint vitae. Facere itaque veniam sapiente est animi atque. Officia rerum et nobis voluptatum. Numquam aliquid aut. Et cum explicabo aut id ducimus excepturi.", "Quia minima quia hic blanditiis iure rerum laboriosam. Neque occaecati nihil error omnis at. Dolorem cupiditate molestias quia est. Odio odit totam animi commodi ea."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_9691969b"], ["title", "Cum minus enim excepturi."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50947
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50948
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50949
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_9691969b' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50950
+  (0.0ms) SAVEPOINT active_record_1
50951
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_9691969b') LIMIT 1
50952
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.325096' WHERE "fine_print_contracts"."id" = 1
50953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50954
+ Processing by FinePrint::ContractsController#new_version as HTML
50955
+ Parameters: {"id"=>"1"}
50956
+ Redirected to http://test.host/
50957
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
50958
+ Processing by FinePrint::ContractsController#new_version as HTML
50959
+ Parameters: {"id"=>"1"}
50960
+ Redirected to http://test.host/
50961
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
50962
+  (0.1ms) rollback transaction
50963
+  (0.0ms) begin transaction
50964
+  (0.0ms) SAVEPOINT active_record_1
50965
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50967
+  (0.0ms) SAVEPOINT active_record_1
50968
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50970
+  (0.0ms) SAVEPOINT active_record_1
50971
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_b7ac51ee') LIMIT 1
50972
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Provident sit non quae vitae voluptatibus voluptas quidem. Explicabo at aut. Suscipit voluptatem repellat itaque mollitia ut quo voluptatibus. Dolorem aliquid voluptatem aut dolorem quia sint. Vitae dolorem deserunt et itaque natus nihil.", "Quia omnis deleniti sed fugiat ratione suscipit rem. Non at ipsum. Nostrum necessitatibus nemo ut ea architecto."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_b7ac51ee"], ["title", "Quaerat sit voluptas."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50974
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50975
+ Processing by FinePrint::ContractsController#index as HTML
50976
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY name, version DESC
50977
+ Completed 200 OK in 1.5ms (Views: 0.9ms | ActiveRecord: 0.1ms)
50978
+  (0.1ms) rollback transaction
50979
+  (0.0ms) begin transaction
50980
+  (0.0ms) SAVEPOINT active_record_1
50981
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50983
+  (0.0ms) SAVEPOINT active_record_1
50984
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
50985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50986
+  (0.0ms) SAVEPOINT active_record_1
50987
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_6dbea5e0') LIMIT 1
50988
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Rerum consequatur ad ut consectetur cumque velit dicta. Impedit nam qui veniam eius. Molestiae et debitis placeat et possimus soluta autem. Praesentium provident consequatur facere maiores officiis. Temporibus ut perferendis necessitatibus vel.", "Qui provident fuga qui dolor. Sit autem voluptatem perferendis. Earum voluptas perferendis. Consequuntur error corrupti. Ut qui expedita."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_6dbea5e0"], ["title", "Non doloremque soluta est qui ratione corporis dolores."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
50989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50990
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
50991
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
50992
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6dbea5e0' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
50993
+  (0.0ms) SAVEPOINT active_record_1
50994
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6dbea5e0') LIMIT 1
50995
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.340213' WHERE "fine_print_contracts"."id" = 1
50996
+  (0.0ms) RELEASE SAVEPOINT active_record_1
50997
+ Processing by FinePrint::ContractsController#unpublish as HTML
50998
+ Parameters: {"id"=>"1"}
50999
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51000
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51001
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6dbea5e0'
51002
+  (0.0ms) SAVEPOINT active_record_1
51003
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6dbea5e0') LIMIT 1
51004
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = NULL, "updated_at" = '2013-11-13 02:49:42.343641' WHERE "fine_print_contracts"."id" = 1
51005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51006
+ Redirected to http://test.host/fine_print/contracts
51007
+ Completed 302 Found in 2.7ms (ActiveRecord: 0.2ms)
51008
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51009
+  (0.1ms) rollback transaction
51010
+  (0.0ms) begin transaction
51011
+  (0.0ms) SAVEPOINT active_record_1
51012
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51014
+  (0.0ms) SAVEPOINT active_record_1
51015
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51017
+  (0.0ms) SAVEPOINT active_record_1
51018
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f49795f4') LIMIT 1
51019
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Doloremque consequatur vel esse unde laboriosam. Rem repudiandae voluptatem omnis facere placeat consequatur. Est illo consectetur est.", "Inventore voluptatum labore. Facere temporibus possimus quod. Doloribus accusantium distinctio hic nesciunt quia. Laboriosam doloremque pariatur quo corrupti quo."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_f49795f4"], ["title", "Deleniti optio eius blanditiis."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51021
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51022
+ Processing by FinePrint::ContractsController#update as HTML
51023
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"}
51024
+ Redirected to http://test.host/
51025
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51026
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51027
+ Processing by FinePrint::ContractsController#update as HTML
51028
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"}
51029
+ Redirected to http://test.host/
51030
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51031
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51032
+  (0.1ms) rollback transaction
51033
+  (0.0ms) begin transaction
51034
+  (0.0ms) SAVEPOINT active_record_1
51035
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51037
+  (0.0ms) SAVEPOINT active_record_1
51038
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51040
+  (0.0ms) SAVEPOINT active_record_1
51041
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f30528f6') LIMIT 1
51042
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Eos est unde eveniet enim harum dolor. Praesentium vero voluptate non aut repellat. Ut laboriosam rerum. Et ipsum modi placeat impedit voluptates.", "Sequi nam animi et autem at. Facere nisi dolorem ipsam. Sint numquam ut est et."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_f30528f6"], ["title", "Et odio qui maiores debitis ipsam in doloribus."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51044
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51045
+ Processing by FinePrint::ContractsController#create as HTML
51046
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
51047
+ Redirected to http://test.host/
51048
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
51049
+ Processing by FinePrint::ContractsController#create as HTML
51050
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
51051
+ Redirected to http://test.host/
51052
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51053
+  (0.1ms) rollback transaction
51054
+  (0.0ms) begin transaction
51055
+  (0.0ms) SAVEPOINT active_record_1
51056
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51058
+  (0.0ms) SAVEPOINT active_record_1
51059
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51061
+  (0.0ms) SAVEPOINT active_record_1
51062
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_5a4873a2') LIMIT 1
51063
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Atque consequatur blanditiis debitis. Et delectus beatae. Doloremque voluptas ad ut aut harum. Sunt dolores qui ratione.", "Laudantium a recusandae qui reiciendis et architecto non. Exercitationem reprehenderit qui at. Perferendis aut sint."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_5a4873a2"], ["title", "Tempora voluptas magnam porro illo."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51065
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51066
+ Processing by FinePrint::ContractsController#create as HTML
51067
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
51068
+  (0.0ms) SAVEPOINT active_record_1
51069
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'some_name') LIMIT 1
51070
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51072
+ Redirected to http://test.host/fine_print/contracts/2
51073
+ Completed 302 Found in 1.4ms (ActiveRecord: 0.2ms)
51074
+  (0.1ms) rollback transaction
51075
+  (0.0ms) begin transaction
51076
+  (0.0ms) SAVEPOINT active_record_1
51077
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51079
+  (0.1ms) SAVEPOINT active_record_1
51080
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51082
+  (0.0ms) SAVEPOINT active_record_1
51083
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f7e38305') LIMIT 1
51084
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Porro iure harum doloremque minima fugiat. Asperiores ipsum sed cumque mollitia explicabo corporis. At hic officia mollitia necessitatibus magni eius. Voluptatem dolor aut illo labore qui. Rerum culpa voluptatibus est.", "Unde iusto perspiciatis eius modi quis facere debitis. Ab sapiente nihil molestiae qui ipsa. Labore repellat enim et. Molestias facere quo laudantium. Est pariatur quia rerum temporibus architecto."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_f7e38305"], ["title", "Nesciunt qui commodi."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51086
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51087
+ Processing by FinePrint::ContractsController#publish as HTML
51088
+ Parameters: {"id"=>"1"}
51089
+ Redirected to http://test.host/
51090
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51091
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51092
+ Processing by FinePrint::ContractsController#publish as HTML
51093
+ Parameters: {"id"=>"1"}
51094
+ Redirected to http://test.host/
51095
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51096
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51097
+  (0.1ms) rollback transaction
51098
+  (0.0ms) begin transaction
51099
+  (0.0ms) SAVEPOINT active_record_1
51100
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51102
+  (0.0ms) SAVEPOINT active_record_1
51103
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51105
+  (0.0ms) SAVEPOINT active_record_1
51106
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_748b24fc') LIMIT 1
51107
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Nostrum officia reprehenderit dolorem. Praesentium ut nulla. Eos ea doloribus quis aliquam saepe. Blanditiis beatae accusantium saepe. Dolores sunt autem aut maiores velit modi esse.", "Qui nihil dignissimos. Et molestias in et. Earum quisquam architecto praesentium. Totam dolor numquam eligendi nemo suscipit officiis corporis. Debitis sunt ea non nihil et corporis."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_748b24fc"], ["title", "Quidem dolores sit deserunt libero."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51109
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51110
+ Processing by FinePrint::ContractsController#destroy as HTML
51111
+ Parameters: {"id"=>"1"}
51112
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51113
+  (0.0ms) SAVEPOINT active_record_1
51114
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51115
+ SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]
51116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51117
+ Redirected to http://test.host/fine_print/contracts
51118
+ Completed 302 Found in 1.8ms (ActiveRecord: 0.2ms)
51119
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY name, version DESC LIMIT 1
51120
+  (0.1ms) rollback transaction
51121
+  (0.0ms) begin transaction
51122
+  (0.0ms) SAVEPOINT active_record_1
51123
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51125
+  (0.0ms) SAVEPOINT active_record_1
51126
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51128
+  (0.0ms) SAVEPOINT active_record_1
51129
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_e8f52c5f') LIMIT 1
51130
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Est quisquam modi molestiae perspiciatis. Soluta sit dolorem. Quae officiis autem exercitationem quam.", "Modi ipsam ratione sequi dolor quisquam dolores. Et saepe ad dolores velit. Voluptatum laborum ratione officia qui tempore eveniet et. Voluptatem distinctio qui qui saepe. Asperiores voluptas exercitationem accusamus vitae."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_e8f52c5f"], ["title", "Quaerat voluptas eum."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51132
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51133
+ Processing by FinePrint::ContractsController#edit as HTML
51134
+ Parameters: {"id"=>"1"}
51135
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51136
+ Completed 200 OK in 1.4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
51137
+  (0.1ms) rollback transaction
51138
+  (0.0ms) begin transaction
51139
+  (0.0ms) SAVEPOINT active_record_1
51140
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51142
+  (0.0ms) SAVEPOINT active_record_1
51143
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51145
+  (0.0ms) SAVEPOINT active_record_1
51146
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_fa23526f') LIMIT 1
51147
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Porro illum qui. Voluptatum dolores voluptates hic impedit quod. Quae temporibus modi. Officia in nulla quis velit velit suscipit ipsum. Aut commodi quia sint sunt officiis.", "Esse illum quo officia nesciunt sunt facilis nam. Est dolore accusamus. Aut qui sit repudiandae nemo eos quisquam. Non hic ipsa accusamus."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_fa23526f"], ["title", "Consequatur libero nesciunt."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51149
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51150
+ Processing by FinePrint::ContractsController#new as HTML
51151
+ Completed 200 OK in 0.9ms (Views: 0.7ms | ActiveRecord: 0.0ms)
51152
+  (0.1ms) rollback transaction
51153
+  (0.0ms) begin transaction
51154
+  (0.0ms) SAVEPOINT active_record_1
51155
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51157
+  (0.0ms) SAVEPOINT active_record_1
51158
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51160
+  (0.0ms) SAVEPOINT active_record_1
51161
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_7e838a81') LIMIT 1
51162
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Et ducimus repellat et odit quia quibusdam perspiciatis. Nemo beatae earum ipsam ea corrupti. Qui dicta doloremque inventore nihil est distinctio. Deleniti nostrum aut.", "Doloremque illum voluptas. Eos maxime voluptatem. Dolorum voluptatem eaque."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_7e838a81"], ["title", "Eum sapiente nisi."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51164
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51165
+ Processing by FinePrint::ContractsController#edit as HTML
51166
+ Parameters: {"id"=>"1"}
51167
+ Redirected to http://test.host/
51168
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51169
+ Processing by FinePrint::ContractsController#edit as HTML
51170
+ Parameters: {"id"=>"1"}
51171
+ Redirected to http://test.host/
51172
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51173
+  (0.1ms) rollback transaction
51174
+  (0.0ms) begin transaction
51175
+  (0.0ms) SAVEPOINT active_record_1
51176
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51178
+  (0.0ms) SAVEPOINT active_record_1
51179
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51181
+  (0.0ms) SAVEPOINT active_record_1
51182
+ FinePrint::Contract Exists (0.4ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_9be7218b') LIMIT 1
51183
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Vel quasi quia natus. Voluptatibus qui et ut earum neque ut non. Saepe sed qui voluptates. A assumenda eos sed laudantium. Aliquid commodi ipsa.", "Facilis possimus et in excepturi aspernatur rerum. Rem rerum repellat molestias. Iusto culpa doloremque facere ipsum ullam. Magnam aspernatur non porro sed corrupti vel eligendi. Rerum magnam iste culpa accusamus qui animi quidem."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_9be7218b"], ["title", "In optio quia consequuntur quidem esse ipsa."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51185
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51186
+ Processing by FinePrint::ContractsController#index as HTML
51187
+ Redirected to http://test.host/
51188
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51189
+ Processing by FinePrint::ContractsController#index as HTML
51190
+ Redirected to http://test.host/
51191
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51192
+  (0.1ms) rollback transaction
51193
+  (0.0ms) begin transaction
51194
+  (0.0ms) SAVEPOINT active_record_1
51195
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51197
+  (0.0ms) SAVEPOINT active_record_1
51198
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["is_admin", false], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00]]
51199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51200
+  (0.0ms) SAVEPOINT active_record_1
51201
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_6b632edb') LIMIT 1
51202
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Quis et repellendus nemo voluptatem ut. Et aspernatur deserunt itaque ex. Animi et est eaque.", "Harum nemo tempore qui corrupti. Repudiandae sed aut iure eum. Similique culpa aut officia velit sequi corporis. Sunt incidunt vitae. Libero tempora labore eligendi."]], ["created_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["name", "contract_6b632edb"], ["title", "Sequi in vel non."], ["updated_at", Wed, 13 Nov 2013 02:49:42 UTC +00:00], ["version", nil]]
51203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51204
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51205
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51206
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6b632edb' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51207
+  (0.0ms) SAVEPOINT active_record_1
51208
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6b632edb') LIMIT 1
51209
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-13 02:49:42.450345' WHERE "fine_print_contracts"."id" = 1
51210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51211
+ Processing by FinePrint::ContractsController#new_version as HTML
51212
+ Parameters: {"id"=>"1"}
51213
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51214
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6b632edb' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
51215
+ Completed 200 OK in 1.7ms (Views: 0.7ms | ActiveRecord: 0.1ms)
51216
+  (0.1ms) rollback transaction
51217
+  (0.0ms) begin transaction
51218
+  (0.0ms) rollback transaction
51219
+  (0.0ms) begin transaction
51220
+  (0.0ms) rollback transaction
51221
+  (0.0ms) begin transaction
51222
+  (0.0ms) rollback transaction
51223
+ Connecting to database specified by database.yml
51224
+  (0.2ms) begin transaction
51225
+  (0.0ms) SAVEPOINT active_record_1
51226
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_130264aa') LIMIT 1
51227
+ SQL (1.9ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptatem quidem reiciendis quia dolor voluptatem et. Earum corrupti et non ab. Voluptas labore voluptatem et aut veniam omnis sunt. Quo porro sequi est doloribus reprehenderit assumenda.", "Perspiciatis saepe aut nemo quia tempore explicabo soluta. Esse illo est commodi. Rem voluptatum libero omnis quis."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_130264aa"], ["title", "Ut et et qui."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51229
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51230
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_130264aa' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51231
+  (0.0ms) SAVEPOINT active_record_1
51232
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_130264aa') LIMIT 1
51233
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.623041' WHERE "fine_print_contracts"."id" = 1
51234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51235
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_130264aa'
51236
+  (0.0ms) SAVEPOINT active_record_1
51237
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51239
+  (0.0ms) SAVEPOINT active_record_1
51240
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
51241
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]
51242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51243
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51244
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51245
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51246
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51247
+  (0.0ms) SAVEPOINT active_record_1
51248
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_130264aa') LIMIT 1
51249
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51250
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51251
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51252
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_130264aa'
51253
+  (0.1ms) rollback transaction
51254
+  (0.0ms) begin transaction
51255
+  (0.0ms) SAVEPOINT active_record_1
51256
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_cbb37ff0') LIMIT 1
51257
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Quo qui et eius. Rerum labore enim optio quo. Autem impedit eum numquam. Aperiam ullam voluptatem voluptas eos quis illo. Incidunt et et pariatur voluptatum magnam officia.", "Illo quibusdam pariatur unde est. Omnis est corrupti alias possimus. Minima quidem maiores et perferendis consequatur est sint."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_cbb37ff0"], ["title", "Et quis eius sit corrupti."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51259
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51260
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cbb37ff0' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51261
+  (0.0ms) SAVEPOINT active_record_1
51262
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_cbb37ff0') LIMIT 1
51263
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.662348' WHERE "fine_print_contracts"."id" = 1
51264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51265
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cbb37ff0' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
51266
+  (0.0ms) SAVEPOINT active_record_1
51267
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_cbb37ff0') LIMIT 1
51268
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Quo qui et eius. Rerum labore enim optio quo. Autem impedit eum numquam. Aperiam ullam voluptatem voluptas eos quis illo. Incidunt et et pariatur voluptatum magnam officia.", "Illo quibusdam pariatur unde est. Omnis est corrupti alias possimus. Minima quidem maiores et perferendis consequatur est sint."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_cbb37ff0"], ["title", "Et quis eius sit corrupti."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51270
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
51271
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_cbb37ff0' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51272
+  (0.0ms) SAVEPOINT active_record_1
51273
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_cbb37ff0') LIMIT 1
51274
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-14 02:01:41.666852' WHERE "fine_print_contracts"."id" = 2
51275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51276
+  (0.1ms) rollback transaction
51277
+  (0.0ms) begin transaction
51278
+  (0.0ms) SAVEPOINT active_record_1
51279
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_2b0cafff') LIMIT 1
51280
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["In nostrum porro minus maiores modi ab. Omnis velit magnam. Esse error exercitationem impedit.", "Minima sequi quo asperiores impedit. Sed et vel eligendi est. Perferendis ut repellendus id qui recusandae aut et. Qui dicta reprehenderit exercitationem quis."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_2b0cafff"], ["title", "Qui vel consequatur molestias debitis incidunt repellat et."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51282
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51283
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2b0cafff' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51284
+  (0.0ms) SAVEPOINT active_record_1
51285
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_2b0cafff') LIMIT 1
51286
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.671604' WHERE "fine_print_contracts"."id" = 1
51287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51288
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2b0cafff'
51289
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2b0cafff'
51290
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_2b0cafff'
51291
+  (0.0ms) SAVEPOINT active_record_1
51292
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_2b0cafff') LIMIT 1
51293
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = NULL, "updated_at" = '2013-11-14 02:01:41.674631' WHERE "fine_print_contracts"."id" = 1
51294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51295
+  (0.1ms) rollback transaction
51296
+  (0.0ms) begin transaction
51297
+  (0.0ms) SAVEPOINT active_record_1
51298
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_411541cf') LIMIT 1
51299
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptates nam eaque. Minima laborum eligendi beatae vitae esse omnis quos. Debitis voluptas officia at. Maiores exercitationem deserunt rerum vero sint. A ad est vero velit neque.", "Veritatis aut quia non voluptate. Reprehenderit nemo et dolore consequuntur. Aut qui repellendus quisquam. Nihil esse et. Voluptatem sint commodi ullam ab odit consequatur."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_411541cf"], ["title", "Dolorem fuga et."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51301
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51302
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_411541cf' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51303
+  (0.0ms) SAVEPOINT active_record_1
51304
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_411541cf') LIMIT 1
51305
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.679070' WHERE "fine_print_contracts"."id" = 1
51306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51307
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_411541cf' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
51308
+  (0.0ms) SAVEPOINT active_record_1
51309
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'joe') LIMIT 1
51310
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptates nam eaque. Minima laborum eligendi beatae vitae esse omnis quos. Debitis voluptas officia at. Maiores exercitationem deserunt rerum vero sint. A ad est vero velit neque.", "Veritatis aut quia non voluptate. Reprehenderit nemo et dolore consequuntur. Aut qui repellendus quisquam. Nihil esse et. Voluptatem sint commodi ullam ab odit consequatur."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "joe"], ["title", "Dolorem fuga et."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51312
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
51313
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'joe' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51314
+  (0.0ms) SAVEPOINT active_record_1
51315
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'joe') LIMIT 1
51316
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.682781' WHERE "fine_print_contracts"."id" = 2
51317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51318
+  (0.1ms) rollback transaction
51319
+  (0.0ms) begin transaction
51320
+  (0.0ms) SAVEPOINT active_record_1
51321
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51323
+  (0.0ms) SAVEPOINT active_record_1
51324
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51326
+  (0.0ms) SAVEPOINT active_record_1
51327
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_02268155') LIMIT 1
51328
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Id nam corrupti nihil. Quae odio saepe rerum iure corrupti. Illo dolor omnis hic atque expedita id. Et quidem autem vel deserunt. Minima consequatur quisquam optio at accusantium voluptatem eum.", "Est eaque distinctio. Delectus ut et veniam quibusdam et. Consequatur quia praesentium animi. Sequi totam perferendis laboriosam."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_02268155"], ["title", "Consequuntur et dolores est aliquid veniam quas."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51330
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51331
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_02268155' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51332
+  (0.0ms) SAVEPOINT active_record_1
51333
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_02268155') LIMIT 1
51334
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.689085' WHERE "fine_print_contracts"."id" = 1
51335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51336
+  (0.0ms) SAVEPOINT active_record_1
51337
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51339
+  (0.0ms) SAVEPOINT active_record_1
51340
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
51341
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
51342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51343
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
51344
+ Processing by FinePrint::SignaturesController#index as HTML
51345
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" ORDER BY contract_id, user_type, user_id
51346
+ Rendered /home/dantemss/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/fine_print/application (0.1ms)
51347
+ Completed 200 OK in 3.8ms (Views: 3.2ms | ActiveRecord: 0.1ms)
51348
+  (0.1ms) rollback transaction
51349
+  (0.0ms) begin transaction
51350
+  (0.0ms) SAVEPOINT active_record_1
51351
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51353
+  (0.0ms) SAVEPOINT active_record_1
51354
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51356
+  (0.0ms) SAVEPOINT active_record_1
51357
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_1fb33e8f') LIMIT 1
51358
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Sunt quisquam quia. Ea nemo et sapiente. Qui sit nisi. Explicabo qui voluptatem voluptatum.", "Perspiciatis sunt minus corrupti omnis sint exercitationem. Ea impedit quaerat dolorem. Sit tenetur non placeat minus ratione."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_1fb33e8f"], ["title", "Et architecto est qui ab debitis aliquam quas."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51360
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51361
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_1fb33e8f' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51362
+  (0.0ms) SAVEPOINT active_record_1
51363
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_1fb33e8f') LIMIT 1
51364
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.705179' WHERE "fine_print_contracts"."id" = 1
51365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51366
+  (0.0ms) SAVEPOINT active_record_1
51367
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51369
+  (0.0ms) SAVEPOINT active_record_1
51370
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
51371
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
51372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51373
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
51374
+ Processing by FinePrint::SignaturesController#destroy as HTML
51375
+ Parameters: {"id"=>"1"}
51376
+ Redirected to http://test.host/
51377
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
51378
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY contract_id, user_type, user_id LIMIT 1 [["id", 1]]
51379
+ Processing by FinePrint::SignaturesController#destroy as HTML
51380
+ Parameters: {"id"=>"1"}
51381
+ Redirected to http://test.host/
51382
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51383
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY contract_id, user_type, user_id LIMIT 1 [["id", 1]]
51384
+  (0.1ms) rollback transaction
51385
+  (0.0ms) begin transaction
51386
+  (0.0ms) SAVEPOINT active_record_1
51387
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51389
+  (0.0ms) SAVEPOINT active_record_1
51390
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51392
+  (0.0ms) SAVEPOINT active_record_1
51393
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_6d8b8f3b') LIMIT 1
51394
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Aliquid recusandae architecto ratione at reprehenderit est. Et ipsam laborum sed. Eum dolorem ratione tempora pariatur a enim.", "Natus voluptas aliquam est ullam facilis et. Dolore eum iusto beatae in velit sint molestiae. Maxime ab fugit eum iusto quisquam."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_6d8b8f3b"], ["title", "Maxime omnis reiciendis ab."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51396
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51397
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_6d8b8f3b' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51398
+  (0.0ms) SAVEPOINT active_record_1
51399
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_6d8b8f3b') LIMIT 1
51400
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.716928' WHERE "fine_print_contracts"."id" = 1
51401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51402
+  (0.0ms) SAVEPOINT active_record_1
51403
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51405
+  (0.0ms) SAVEPOINT active_record_1
51406
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
51407
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
51408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51409
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
51410
+ Processing by FinePrint::SignaturesController#index as HTML
51411
+ Redirected to http://test.host/
51412
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51413
+ Processing by FinePrint::SignaturesController#index as HTML
51414
+ Redirected to http://test.host/
51415
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51416
+  (0.1ms) rollback transaction
51417
+  (0.0ms) begin transaction
51418
+  (0.0ms) SAVEPOINT active_record_1
51419
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51421
+  (0.0ms) SAVEPOINT active_record_1
51422
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51424
+  (0.0ms) SAVEPOINT active_record_1
51425
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_d6a0d4d5') LIMIT 1
51426
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Vero fugit similique architecto. Nam omnis fuga sed ipsa labore velit. Eos at rem. Asperiores facilis illo qui autem suscipit minus. Et et ut amet repudiandae ut.", "Iste odit molestias itaque. Voluptates accusamus qui aut autem. Tempora et sed nostrum quibusdam iusto officiis praesentium."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_d6a0d4d5"], ["title", "Optio omnis necessitatibus dolor corrupti."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51428
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51429
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d6a0d4d5' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51430
+  (0.0ms) SAVEPOINT active_record_1
51431
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d6a0d4d5') LIMIT 1
51432
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.726737' WHERE "fine_print_contracts"."id" = 1
51433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51434
+  (0.0ms) SAVEPOINT active_record_1
51435
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51437
+  (0.0ms) SAVEPOINT active_record_1
51438
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
51439
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", 3], ["user_type", "DummyUser"]]
51440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51441
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? LIMIT 1 [["id", 1]]
51442
+ Processing by FinePrint::SignaturesController#destroy as HTML
51443
+ Parameters: {"id"=>"1"}
51444
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY contract_id, user_type, user_id LIMIT 1 [["id", "1"]]
51445
+  (0.0ms) SAVEPOINT active_record_1
51446
+ SQL (0.1ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 1]]
51447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51448
+ Redirected to http://test.host/fine_print/signatures
51449
+ Completed 302 Found in 1.2ms (ActiveRecord: 0.1ms)
51450
+ FinePrint::Signature Load (0.0ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = 1 ORDER BY contract_id, user_type, user_id LIMIT 1
51451
+  (0.1ms) rollback transaction
51452
+  (0.0ms) begin transaction
51453
+  (0.0ms) SAVEPOINT active_record_1
51454
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51456
+  (0.0ms) SAVEPOINT active_record_1
51457
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51459
+ Processing by FinePrint::HomeController#index as HTML
51460
+ Completed 200 OK in 1.0ms (Views: 0.9ms | ActiveRecord: 0.0ms)
51461
+  (0.1ms) rollback transaction
51462
+  (0.0ms) begin transaction
51463
+  (0.0ms) SAVEPOINT active_record_1
51464
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51466
+  (0.0ms) SAVEPOINT active_record_1
51467
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51469
+ Processing by FinePrint::HomeController#index as HTML
51470
+ Redirected to http://test.host/
51471
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51472
+ Processing by FinePrint::HomeController#index as HTML
51473
+ Redirected to http://test.host/
51474
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51475
+  (0.1ms) rollback transaction
51476
+  (0.0ms) begin transaction
51477
+  (0.0ms) SAVEPOINT active_record_1
51478
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f0fa5fed') LIMIT 1
51479
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Soluta similique corporis ratione magnam. Ut et commodi quasi. Consequatur soluta similique et nihil et. Veritatis officia aut exercitationem.", "Facilis ad quibusdam nihil quis sed. Voluptas velit nam in sed adipisci. Quibusdam pariatur consectetur ut eligendi. Nobis qui consequatur aut."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_f0fa5fed"], ["title", "Eaque aut excepturi."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51481
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51482
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f0fa5fed' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51483
+  (0.0ms) SAVEPOINT active_record_1
51484
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f0fa5fed') LIMIT 1
51485
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.745672' WHERE "fine_print_contracts"."id" = 1
51486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51487
+  (0.0ms) SAVEPOINT active_record_1
51488
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51490
+  (0.0ms) SAVEPOINT active_record_1
51491
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
51492
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", 1], ["user_type", "DummyUser"]]
51493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51494
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51495
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51496
+  (0.1ms) rollback transaction
51497
+  (0.0ms) begin transaction
51498
+  (0.0ms) SAVEPOINT active_record_1
51499
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_06bbeecb') LIMIT 1
51500
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Et aut dolor alias aliquam omnis dolore eos. Sit molestiae hic quo. Adipisci officiis voluptas nesciunt consequatur et saepe est.", "Cumque nobis est dolorem quam et eaque. Eligendi voluptatem aut est et repellendus sit omnis. Accusamus ducimus veritatis et veniam iste suscipit at. Quod expedita ullam."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_06bbeecb"], ["title", "Sequi tenetur possimus ipsam quis et eum in."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51502
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51503
+  (0.0ms) SAVEPOINT active_record_1
51504
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_8d9af417') LIMIT 1
51505
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Quas quis voluptas possimus eaque nostrum sequi sunt. Enim commodi aspernatur cum qui. Enim provident qui. Atque omnis ut nemo ducimus sunt. Non sit fugit quasi quibusdam quia qui vero.", "Amet quia est eaque voluptatem maxime. Eum ut repellat porro corporis amet exercitationem. Inventore cumque aspernatur. Voluptas omnis et exercitationem deleniti quam."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_8d9af417"], ["title", "Eos voluptas qui voluptates atque minus nobis."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51507
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
51508
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8d9af417' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51509
+  (0.0ms) SAVEPOINT active_record_1
51510
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'contract_8d9af417') LIMIT 1
51511
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.754661' WHERE "fine_print_contracts"."id" = 2
51512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51513
+  (0.0ms) SAVEPOINT active_record_1
51514
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51516
+  (0.0ms) SAVEPOINT active_record_1
51517
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
51518
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51519
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51520
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51521
+  (0.1ms) rollback transaction
51522
+  (0.0ms) begin transaction
51523
+  (0.0ms) SAVEPOINT active_record_1
51524
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51525
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Unde impedit dolor voluptatem veritatis nihil. Optio excepturi qui ut sit et corporis. Corporis alias quo est molestias vel.", "Excepturi aliquid ipsam minus molestiae qui occaecati. Repellat aperiam et fugiat earum dignissimos. Quasi fugiat veniam placeat officia amet. Dolore ad ratione a voluptates voluptatem ut."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "alpha"], ["title", "Voluptatem voluptatibus fuga asperiores quae ab non."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51527
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51528
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51529
+  (0.0ms) SAVEPOINT active_record_1
51530
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51531
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.761900' WHERE "fine_print_contracts"."id" = 1
51532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51533
+  (0.0ms) SAVEPOINT active_record_1
51534
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1
51535
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Veritatis exercitationem ipsa. Perspiciatis et mollitia ipsam non sit nostrum. Eum nobis praesentium facilis sed ipsum.", "Eius eaque quia et. Quo et porro numquam voluptates esse. Eligendi nihil fugit. Eligendi dolor qui accusantium non."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "beta"], ["title", "Et et aut vero error dolore minus et."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51537
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
51538
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51539
+  (0.0ms) SAVEPOINT active_record_1
51540
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
51541
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.765853' WHERE "fine_print_contracts"."id" = 2
51542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51543
+  (0.0ms) SAVEPOINT active_record_1
51544
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
51545
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
51546
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51547
+  (0.0ms) SAVEPOINT active_record_1
51548
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
51549
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
51550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51551
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
51552
+  (0.0ms) SAVEPOINT active_record_1
51553
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "alpha"], ["title", "Voluptatem voluptatibus fuga asperiores quae ab non."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51555
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3
51556
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51557
+  (0.0ms) SAVEPOINT active_record_1
51558
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51559
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-14 02:01:41.773481' WHERE "fine_print_contracts"."id" = 3
51560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51561
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 2]]
51562
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51563
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 1]]
51564
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51565
+  (0.1ms) rollback transaction
51566
+  (0.0ms) begin transaction
51567
+  (0.0ms) SAVEPOINT active_record_1
51568
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51569
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Nisi et sed est voluptas aut eius. Dolor nihil dolorem voluptate alias et quia minus. Ipsum qui a ab iste. Quo velit et enim voluptas dolores fuga quos. Quo minus soluta.", "Voluptatibus nihil illum libero. Quibusdam quo itaque. Ea nulla magni optio porro officia et accusamus."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "alpha"], ["title", "Voluptates aut rerum ea."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51571
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51572
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51573
+  (0.0ms) SAVEPOINT active_record_1
51574
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51575
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.780019' WHERE "fine_print_contracts"."id" = 1
51576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51577
+  (0.0ms) SAVEPOINT active_record_1
51578
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1
51579
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Excepturi soluta modi adipisci facere sint. Consequatur quis et repellendus. Velit in voluptates sed nostrum voluptas et nobis. Magnam consequatur eos dolorem. Explicabo quasi est iusto culpa.", "Modi ipsam fugit. Libero quibusdam debitis at. Non velit quia accusamus."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "beta"], ["title", "Ducimus voluptatum adipisci non a quae."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51581
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
51582
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51583
+  (0.0ms) SAVEPOINT active_record_1
51584
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
51585
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.784047' WHERE "fine_print_contracts"."id" = 2
51586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51587
+  (0.0ms) SAVEPOINT active_record_1
51588
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
51589
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
51590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51591
+  (0.0ms) SAVEPOINT active_record_1
51592
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
51593
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
51594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51595
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
51596
+  (0.0ms) SAVEPOINT active_record_1
51597
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "alpha"], ["title", "Voluptates aut rerum ea."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51599
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3
51600
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51601
+  (0.0ms) SAVEPOINT active_record_1
51602
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51603
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-14 02:01:41.791571' WHERE "fine_print_contracts"."id" = 3
51604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51605
+ FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" 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"."name" IN ('beta', 'alpha') AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND ("fine_print_contracts"."version" IS NOT NULL) GROUP BY id HAVING "fine_print_contracts"."version" = MAX("same_names_fine_print_contracts"."version") ORDER BY name, version DESC
51606
+  (0.1ms) rollback transaction
51607
+  (0.0ms) begin transaction
51608
+  (0.0ms) SAVEPOINT active_record_1
51609
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51610
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Labore mollitia ex qui deserunt et praesentium. Et sapiente perspiciatis fugiat ab minima. Dolorum eveniet quae optio ut.", "Suscipit magnam ad. Eveniet a eum et. Atque quia ratione non reiciendis."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "alpha"], ["title", "Autem sit minima voluptatem distinctio eos quo."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51612
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51613
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51614
+  (0.0ms) SAVEPOINT active_record_1
51615
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51616
+  (0.1ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.819577' WHERE "fine_print_contracts"."id" = 1
51617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51618
+  (0.0ms) SAVEPOINT active_record_1
51619
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'beta') LIMIT 1
51620
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Cum numquam quidem corrupti praesentium. Dolorem illo id explicabo officia nulla perferendis quod. Sit voluptas possimus unde incidunt quia libero.", "Quasi est culpa aut numquam sint excepturi. Ratione eligendi aut. Voluptate molestias quaerat qui eligendi. Ipsam consequuntur architecto maxime aliquam eum. Unde sunt tenetur repellendus."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "beta"], ["title", "Illo dolore repudiandae."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51622
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2
51623
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'beta' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51624
+  (0.0ms) SAVEPOINT active_record_1
51625
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
51626
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.823815' WHERE "fine_print_contracts"."id" = 2
51627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51628
+  (0.0ms) SAVEPOINT active_record_1
51629
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
51630
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
51631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51632
+  (0.0ms) SAVEPOINT active_record_1
51633
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
51634
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
51635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51636
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
51637
+  (0.0ms) SAVEPOINT active_record_1
51638
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "foo"], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "alpha"], ["title", "Autem sit minima voluptatem distinctio eos quo."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51640
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3
51641
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'alpha' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51642
+  (0.0ms) SAVEPOINT active_record_1
51643
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
51644
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 2, "updated_at" = '2013-11-14 02:01:41.831454' WHERE "fine_print_contracts"."id" = 3
51645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51646
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
51647
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
51648
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
51649
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
51650
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
51651
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
51652
+  (0.0ms) SAVEPOINT active_record_1
51653
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1) LIMIT 1
51654
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "created_at", "updated_at", "user_id", "user_type") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["user_id", -1], ["user_type", "DummyUser"]]
51655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51656
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
51657
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
51658
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_id" = -1 AND "fine_print_signatures"."user_type" = 'DummyUser' ORDER BY contract_id, user_type, user_id LIMIT 1
51659
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
51660
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'alpha' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
51661
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" INNER JOIN "fine_print_contracts" ON "fine_print_contracts"."id" = "fine_print_signatures"."contract_id" WHERE "fine_print_contracts"."name" = 'beta' AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = -1 ORDER BY contract_id, user_type, user_id LIMIT 1
51662
+  (0.1ms) rollback transaction
51663
+  (0.0ms) begin transaction
51664
+  (0.0ms) rollback transaction
51665
+  (0.0ms) begin transaction
51666
+  (0.0ms) rollback transaction
51667
+  (0.0ms) begin transaction
51668
+  (0.0ms) rollback transaction
51669
+  (0.0ms) begin transaction
51670
+  (0.0ms) SAVEPOINT active_record_1
51671
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51673
+  (0.0ms) SAVEPOINT active_record_1
51674
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51676
+  (0.0ms) SAVEPOINT active_record_1
51677
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_61b2b67b') LIMIT 1
51678
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Ratione minus vitae id qui neque. Harum quidem fuga inventore laudantium consequatur et vitae. Est aperiam doloribus soluta modi dolorem ut. Omnis voluptate ea unde.", "Vitae incidunt tempore minus blanditiis quisquam qui. Quia qui quis doloribus non qui sit vero. Cupiditate natus similique quos blanditiis eos magnam ex. Libero blanditiis eveniet autem dolor dolorem."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_61b2b67b"], ["title", "Qui accusantium est et."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51680
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51681
+ Processing by FinePrint::ContractsController#destroy as HTML
51682
+ Parameters: {"id"=>"1"}
51683
+ Redirected to http://test.host/
51684
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
51685
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 1]]
51686
+ Processing by FinePrint::ContractsController#destroy as HTML
51687
+ Parameters: {"id"=>"1"}
51688
+ Redirected to http://test.host/
51689
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51690
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", 1]]
51691
+  (0.1ms) rollback transaction
51692
+  (0.0ms) begin transaction
51693
+  (0.0ms) SAVEPOINT active_record_1
51694
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51696
+  (0.0ms) SAVEPOINT active_record_1
51697
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51699
+  (0.0ms) SAVEPOINT active_record_1
51700
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_5f621c25') LIMIT 1
51701
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Provident sint earum tempora et dolore sunt. Nisi fuga quae aut dolor vero dolore. Eos voluptatibus molestiae quia eum vitae expedita voluptatem. Exercitationem consequatur a ea voluptas consequuntur accusantium rerum.", "Nesciunt doloribus sit deserunt dolor cumque. Est non omnis accusantium qui vel beatae nesciunt. Enim veniam ducimus iusto eveniet est assumenda."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_5f621c25"], ["title", "Officiis minus dolor esse excepturi."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51703
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51704
+ Processing by FinePrint::ContractsController#create as HTML
51705
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
51706
+  (0.0ms) SAVEPOINT active_record_1
51707
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'some_name') LIMIT 1
51708
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", "Some content"], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "some_name"], ["title", "Some title"], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51710
+ Redirected to http://test.host/fine_print/contracts/2
51711
+ Completed 302 Found in 2.4ms (ActiveRecord: 0.2ms)
51712
+  (0.1ms) rollback transaction
51713
+  (0.0ms) begin transaction
51714
+  (0.0ms) SAVEPOINT active_record_1
51715
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51717
+  (0.0ms) SAVEPOINT active_record_1
51718
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51720
+  (0.0ms) SAVEPOINT active_record_1
51721
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_d1877a86') LIMIT 1
51722
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Debitis tenetur nostrum quidem soluta doloremque labore. Veritatis qui dolor vel quam nihil odio modi. Quibusdam quas maiores voluptatem velit. Itaque sint vitae aut nulla in placeat. Ipsam quas magnam et tenetur.", "Nobis accusantium eos reprehenderit et quos a sunt. Delectus sunt qui reprehenderit dolorum eum. Ratione accusamus rerum ducimus. Cumque eos expedita voluptas qui ipsa similique. Rerum dolores quam."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_d1877a86"], ["title", "Sed qui a."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51724
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51725
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51726
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_d1877a86' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51727
+  (0.0ms) SAVEPOINT active_record_1
51728
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_d1877a86') LIMIT 1
51729
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.863807' WHERE "fine_print_contracts"."id" = 1
51730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51731
+ Processing by FinePrint::ContractsController#new_version as HTML
51732
+ Parameters: {"id"=>"1"}
51733
+ Redirected to http://test.host/
51734
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
51735
+ Processing by FinePrint::ContractsController#new_version as HTML
51736
+ Parameters: {"id"=>"1"}
51737
+ Redirected to http://test.host/
51738
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51739
+  (0.1ms) rollback transaction
51740
+  (0.0ms) begin transaction
51741
+  (0.0ms) SAVEPOINT active_record_1
51742
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51744
+  (0.0ms) SAVEPOINT active_record_1
51745
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51747
+  (0.0ms) SAVEPOINT active_record_1
51748
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_8ea52feb') LIMIT 1
51749
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Facilis quia quaerat reprehenderit debitis veniam culpa aut. Aut nihil aut voluptatem impedit sed et ducimus. Animi et ea at voluptas.", "Non rerum praesentium asperiores. Magni voluptatem voluptates mollitia iste et. Autem repudiandae delectus rem. Id fugiat aut quae."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_8ea52feb"], ["title", "Recusandae et reiciendis et ea."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51751
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51752
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51753
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8ea52feb' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51754
+  (0.0ms) SAVEPOINT active_record_1
51755
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_8ea52feb') LIMIT 1
51756
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.872630' WHERE "fine_print_contracts"."id" = 1
51757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51758
+ Processing by FinePrint::ContractsController#new_version as HTML
51759
+ Parameters: {"id"=>"1"}
51760
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51761
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_8ea52feb' AND "fine_print_contracts"."version" IS NULL ORDER BY name, version DESC LIMIT 1
51762
+ Completed 200 OK in 1.9ms (Views: 1.0ms | ActiveRecord: 0.1ms)
51763
+  (0.1ms) rollback transaction
51764
+  (0.0ms) begin transaction
51765
+  (0.0ms) SAVEPOINT active_record_1
51766
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51768
+  (0.0ms) SAVEPOINT active_record_1
51769
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51771
+  (0.0ms) SAVEPOINT active_record_1
51772
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_1b9a4490') LIMIT 1
51773
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Esse accusantium voluptas eos quam error consequuntur aspernatur. Natus debitis nobis in totam accusantium veritatis. Repudiandae eos molestiae odio cum soluta quia. Voluptatem mollitia dolores.", "Eius totam quo architecto. Et cumque tempore voluptatibus et et ut. Sit nobis et sit molestiae est qui. Laboriosam dolore velit."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_1b9a4490"], ["title", "Sed aut iure magni illo nisi."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51775
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51776
+ Processing by FinePrint::ContractsController#update as HTML
51777
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"}
51778
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51779
+  (0.0ms) SAVEPOINT active_record_1
51780
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'some_name') LIMIT 1
51781
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51782
+  (0.1ms) UPDATE "fine_print_contracts" SET "name" = 'some_name', "title" = 'Some title', "content" = 'Some content', "updated_at" = '2013-11-14 02:01:41.882603' WHERE "fine_print_contracts"."id" = 1
51783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51784
+ Redirected to http://test.host/fine_print/contracts/1
51785
+ Completed 302 Found in 2.7ms (ActiveRecord: 0.2ms)
51786
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51787
+  (0.1ms) rollback transaction
51788
+  (0.0ms) begin transaction
51789
+  (0.0ms) SAVEPOINT active_record_1
51790
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51792
+  (0.0ms) SAVEPOINT active_record_1
51793
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51795
+  (0.0ms) SAVEPOINT active_record_1
51796
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_ee38cc0d') LIMIT 1
51797
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Sed quam sunt. Voluptates cupiditate et ea aliquam. Ipsum eos illo omnis quos dolor nulla molestiae. Blanditiis sed nam necessitatibus occaecati est odit.", "Et quidem et et eius nihil. Et nesciunt voluptatem minus debitis dolores. Et porro voluptatem et nihil. Quo praesentium eum est et."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_ee38cc0d"], ["title", "Non quia dolorem quia repudiandae veniam commodi."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51799
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51800
+ Processing by FinePrint::ContractsController#index as HTML
51801
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY name, version DESC
51802
+ Completed 200 OK in 1.3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
51803
+  (0.1ms) rollback transaction
51804
+  (0.0ms) begin transaction
51805
+  (0.0ms) SAVEPOINT active_record_1
51806
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51808
+  (0.0ms) SAVEPOINT active_record_1
51809
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51811
+  (0.0ms) SAVEPOINT active_record_1
51812
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_3be839ad') LIMIT 1
51813
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Corrupti quibusdam officia. Nisi et aut ullam quo dolorem est. Fugit est aut ratione molestias velit.", "Eos amet iusto. Ea dolores et quis beatae reprehenderit distinctio. Aspernatur ipsum perspiciatis."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_3be839ad"], ["title", "Molestias et qui itaque corrupti totam quibusdam doloremque."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51815
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51816
+ Processing by FinePrint::ContractsController#edit as HTML
51817
+ Parameters: {"id"=>"1"}
51818
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51819
+ Completed 200 OK in 1.3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
51820
+  (0.1ms) rollback transaction
51821
+  (0.0ms) begin transaction
51822
+  (0.0ms) SAVEPOINT active_record_1
51823
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51825
+  (0.0ms) SAVEPOINT active_record_1
51826
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51827
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51828
+  (0.0ms) SAVEPOINT active_record_1
51829
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_187c77ee') LIMIT 1
51830
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Facilis alias odio dolore aut aspernatur. Architecto sed est esse voluptas. Itaque quis libero debitis. Esse id reiciendis. Numquam fuga eos sint saepe est occaecati impedit.", "Quis enim alias. Porro quis ut pariatur. Explicabo nulla qui consectetur esse tempore."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_187c77ee"], ["title", "Rerum voluptatem maxime et dolor alias."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51832
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51833
+ Processing by FinePrint::ContractsController#index as HTML
51834
+ Redirected to http://test.host/
51835
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51836
+ Processing by FinePrint::ContractsController#index as HTML
51837
+ Redirected to http://test.host/
51838
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51839
+  (0.1ms) rollback transaction
51840
+  (0.0ms) begin transaction
51841
+  (0.0ms) SAVEPOINT active_record_1
51842
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51844
+  (0.0ms) SAVEPOINT active_record_1
51845
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51847
+  (0.0ms) SAVEPOINT active_record_1
51848
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_f5afb838') LIMIT 1
51849
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptatem ab fugit sunt soluta quisquam doloribus. Et atque quas et. Sed corporis incidunt.", "Non provident ducimus recusandae veniam distinctio. Atque perspiciatis ut necessitatibus sapiente eius quia. Assumenda at voluptatum aperiam. Repudiandae omnis repellat. Repellat voluptas suscipit maxime ut dolorem dolor sint."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_f5afb838"], ["title", "Est deleniti earum."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51851
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51852
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51853
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_f5afb838' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51854
+  (0.0ms) SAVEPOINT active_record_1
51855
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_f5afb838') LIMIT 1
51856
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.908736' WHERE "fine_print_contracts"."id" = 1
51857
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51858
+ Processing by FinePrint::ContractsController#unpublish as HTML
51859
+ Parameters: {"id"=>"1"}
51860
+ Redirected to http://test.host/
51861
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
51862
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51863
+ Processing by FinePrint::ContractsController#unpublish as HTML
51864
+ Parameters: {"id"=>"1"}
51865
+ Redirected to http://test.host/
51866
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51867
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51868
+  (0.1ms) rollback transaction
51869
+  (0.0ms) begin transaction
51870
+  (0.0ms) SAVEPOINT active_record_1
51871
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51873
+  (0.0ms) SAVEPOINT active_record_1
51874
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51876
+  (0.0ms) SAVEPOINT active_record_1
51877
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_0fe133ba') LIMIT 1
51878
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Qui voluptas laborum et cupiditate assumenda possimus. Ipsum aut veritatis itaque numquam. Sunt molestias sed.", "Architecto quos laboriosam. Quis sit non beatae sit recusandae repudiandae. Sed aut labore."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_0fe133ba"], ["title", "Ducimus voluptas ipsa sit dicta explicabo officiis dolorem."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51879
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51880
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51881
+ Processing by FinePrint::ContractsController#destroy as HTML
51882
+ Parameters: {"id"=>"1"}
51883
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51884
+  (0.0ms) SAVEPOINT active_record_1
51885
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51886
+ SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 1]]
51887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51888
+ Redirected to http://test.host/fine_print/contracts
51889
+ Completed 302 Found in 1.7ms (ActiveRecord: 0.2ms)
51890
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = 1 ORDER BY name, version DESC LIMIT 1
51891
+  (0.1ms) rollback transaction
51892
+  (0.0ms) begin transaction
51893
+  (0.0ms) SAVEPOINT active_record_1
51894
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51896
+  (0.0ms) SAVEPOINT active_record_1
51897
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51899
+  (0.0ms) SAVEPOINT active_record_1
51900
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_49e260b9') LIMIT 1
51901
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Velit est nam illum fugit blanditiis. Esse deleniti quo pariatur ipsa earum. Porro et fugiat ad nisi distinctio impedit occaecati. Quibusdam minima fugit amet est. Eum sint odit et corrupti.", "Tempore esse perferendis similique temporibus provident. Cumque ex quasi eum sed omnis. Ratione non odit aut nostrum. Reprehenderit aspernatur ut autem enim ut. In eveniet consectetur aut ipsam soluta nemo."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_49e260b9"], ["title", "Aperiam ad sed reiciendis et fuga."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51903
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51904
+ Processing by FinePrint::ContractsController#update as HTML
51905
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"}
51906
+ Redirected to http://test.host/
51907
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51908
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51909
+ Processing by FinePrint::ContractsController#update as HTML
51910
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}, "id"=>"1"}
51911
+ Redirected to http://test.host/
51912
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51913
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51914
+  (0.1ms) rollback transaction
51915
+  (0.0ms) begin transaction
51916
+  (0.0ms) SAVEPOINT active_record_1
51917
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51919
+  (0.0ms) SAVEPOINT active_record_1
51920
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51922
+  (0.0ms) SAVEPOINT active_record_1
51923
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_a4390e49') LIMIT 1
51924
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Quas nisi vel est facere iste magnam. Reiciendis harum qui neque corrupti veniam nesciunt alias. Voluptatem deleniti iure. Consequatur facilis quo et itaque qui id. Delectus distinctio debitis atque magni eveniet in.", "Quis dicta minus neque ipsum quis alias aliquam. Exercitationem sed omnis. Deleniti dolorem ut quia explicabo dolore. Molestiae doloremque autem consequatur voluptate. Ducimus error nisi aut dolor a."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_a4390e49"], ["title", "Laudantium aliquam rerum est et consequatur vitae."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51926
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51927
+ Processing by FinePrint::ContractsController#publish as HTML
51928
+ Parameters: {"id"=>"1"}
51929
+ Redirected to http://test.host/
51930
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
51931
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51932
+ Processing by FinePrint::ContractsController#publish as HTML
51933
+ Parameters: {"id"=>"1"}
51934
+ Redirected to http://test.host/
51935
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51936
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51937
+  (0.1ms) rollback transaction
51938
+  (0.0ms) begin transaction
51939
+  (0.0ms) SAVEPOINT active_record_1
51940
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51942
+  (0.0ms) SAVEPOINT active_record_1
51943
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51945
+  (0.0ms) SAVEPOINT active_record_1
51946
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_123d8682') LIMIT 1
51947
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptas ex voluptates. Ut iste velit ex. Dolorem minus ipsam dolor enim provident. Aut aut asperiores quo laboriosam pariatur consectetur. Sed aut et.", "Perspiciatis recusandae nulla. Animi quasi nesciunt. Quis et impedit ipsam adipisci officia. Maiores voluptatum architecto necessitatibus. Ab quia debitis amet."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_123d8682"], ["title", "Temporibus illo quia quo."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51949
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51950
+ Processing by FinePrint::ContractsController#publish as HTML
51951
+ Parameters: {"id"=>"1"}
51952
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
51953
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
51954
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_123d8682' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
51955
+  (0.0ms) SAVEPOINT active_record_1
51956
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_123d8682') LIMIT 1
51957
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.939643' WHERE "fine_print_contracts"."id" = 1
51958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51959
+ Redirected to http://test.host/fine_print/contracts
51960
+ Completed 302 Found in 2.8ms (ActiveRecord: 0.2ms)
51961
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51962
+  (0.1ms) rollback transaction
51963
+  (0.0ms) begin transaction
51964
+  (0.0ms) SAVEPOINT active_record_1
51965
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51967
+  (0.0ms) SAVEPOINT active_record_1
51968
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51970
+  (0.0ms) SAVEPOINT active_record_1
51971
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_98651e92') LIMIT 1
51972
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Occaecati omnis est excepturi quia impedit odio. Dolores facere nemo. Qui perferendis ratione non aliquid pariatur sit minus. Officia rerum atque.", "Aut voluptas officia at blanditiis voluptas quae. Illum asperiores cupiditate quas delectus autem dolore. Voluptas numquam eum corrupti ut. Placeat cum aliquid distinctio dolorem laboriosam. Tempore fuga iure voluptatem eius qui sed recusandae."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_98651e92"], ["title", "Nesciunt magni id corrupti provident qui."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51974
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51975
+ Processing by FinePrint::ContractsController#new as HTML
51976
+ Redirected to http://test.host/
51977
+ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
51978
+ Processing by FinePrint::ContractsController#new as HTML
51979
+ Redirected to http://test.host/
51980
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
51981
+  (0.1ms) rollback transaction
51982
+  (0.0ms) begin transaction
51983
+  (0.0ms) SAVEPOINT active_record_1
51984
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51986
+  (0.0ms) SAVEPOINT active_record_1
51987
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
51988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51989
+  (0.0ms) SAVEPOINT active_record_1
51990
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_234cd2b9') LIMIT 1
51991
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Maxime qui quaerat omnis iste. Libero et repellendus nisi. Minima nobis nihil tempore sed corporis ut. Quaerat corrupti quo ut sed ipsum nisi cumque.", "Ut repellat corporis dolorem eius magnam quam. Velit dicta fuga quia. Ut voluptas autem. Dicta laudantium autem excepturi voluptatum dolorem atque perferendis."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_234cd2b9"], ["title", "Tenetur quae ratione rerum debitis."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
51992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
51993
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
51994
+ Processing by FinePrint::ContractsController#new as HTML
51995
+ Completed 200 OK in 0.9ms (Views: 0.7ms | ActiveRecord: 0.0ms)
51996
+  (0.1ms) rollback transaction
51997
+  (0.0ms) begin transaction
51998
+  (0.0ms) SAVEPOINT active_record_1
51999
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
52000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52001
+  (0.0ms) SAVEPOINT active_record_1
52002
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
52003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52004
+  (0.0ms) SAVEPOINT active_record_1
52005
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_90595aa9') LIMIT 1
52006
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Voluptate unde pariatur. Consequatur sapiente facilis. Exercitationem magnam autem hic. Adipisci omnis sit et sunt et quae. Consectetur beatae sequi excepturi ad.", "Pariatur nam aut laborum molestias. Mollitia deleniti at omnis est. Debitis dicta quia sed. Ad ut ea dolores. Maiores quis doloribus ratione consequatur."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_90595aa9"], ["title", "Quo molestiae aut fugiat."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
52007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52008
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
52009
+ Processing by FinePrint::ContractsController#create as HTML
52010
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
52011
+ Redirected to http://test.host/
52012
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
52013
+ Processing by FinePrint::ContractsController#create as HTML
52014
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
52015
+ Redirected to http://test.host/
52016
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
52017
+  (0.1ms) rollback transaction
52018
+  (0.0ms) begin transaction
52019
+  (0.0ms) SAVEPOINT active_record_1
52020
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
52021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52022
+  (0.0ms) SAVEPOINT active_record_1
52023
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00]]
52024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52025
+  (0.0ms) SAVEPOINT active_record_1
52026
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_3cf9c590') LIMIT 1
52027
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Nesciunt omnis aut occaecati. Nobis totam officiis voluptas amet. Id iure sed. Dolorum nesciunt neque esse hic facere et aliquam. Consequuntur aut blanditiis quia aperiam.", "Perferendis sit rerum et autem. Qui laborum quod et enim beatae accusantium est. Delectus reprehenderit mollitia velit aut. Quia sed vel laborum provident totam et."]], ["created_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["name", "contract_3cf9c590"], ["title", "Quod ut omnis est eaque."], ["updated_at", Thu, 14 Nov 2013 02:01:41 UTC +00:00], ["version", nil]]
52028
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52029
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
52030
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
52031
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3cf9c590' AND ("fine_print_contracts"."version" IS NOT NULL) ORDER BY name, version DESC LIMIT 1
52032
+  (0.0ms) SAVEPOINT active_record_1
52033
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3cf9c590') LIMIT 1
52034
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = 1, "updated_at" = '2013-11-14 02:01:41.980683' WHERE "fine_print_contracts"."id" = 1
52035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52036
+ Processing by FinePrint::ContractsController#unpublish as HTML
52037
+ Parameters: {"id"=>"1"}
52038
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY name, version DESC LIMIT 1 [["id", "1"]]
52039
+  (0.0ms) SELECT COUNT(*) FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = 1
52040
+  (0.0ms) SELECT MAX("fine_print_contracts"."version") AS max_id FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = 'contract_3cf9c590'
52041
+  (0.0ms) SAVEPOINT active_record_1
52042
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'contract_3cf9c590') LIMIT 1
52043
+  (0.0ms) UPDATE "fine_print_contracts" SET "version" = NULL, "updated_at" = '2013-11-14 02:01:41.984491' WHERE "fine_print_contracts"."id" = 1
52044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52045
+ Redirected to http://test.host/fine_print/contracts
52046
+ Completed 302 Found in 3.2ms (ActiveRecord: 0.3ms)
52047
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
52048
+  (0.1ms) rollback transaction
52049
+  (1.4ms) begin transaction
52050
+  (0.0ms) SAVEPOINT active_record_1
52051
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:42 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:42 UTC +00:00]]
52052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52053
+  (0.0ms) SAVEPOINT active_record_1
52054
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "is_admin", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 14 Nov 2013 02:01:42 UTC +00:00], ["is_admin", false], ["updated_at", Thu, 14 Nov 2013 02:01:42 UTC +00:00]]
52055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52056
+  (0.0ms) SAVEPOINT active_record_1
52057
+ FinePrint::Contract Exists (0.0ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" IS NULL AND "fine_print_contracts"."name" = 'contract_be72c383') LIMIT 1
52058
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("content", "created_at", "name", "title", "updated_at", "version") VALUES (?, ?, ?, ?, ?, ?) [["content", ["Non aut totam voluptatem quis ad qui recusandae. Similique est cum cupiditate inventore. Facere et fugit.", "Ipsa provident aut enim dolorum nemo at facilis. Ut nemo non pariatur est. Voluptates voluptatem et quia possimus explicabo. Unde modi ut et rem maxime. Iusto in ex assumenda magnam."]], ["created_at", Thu, 14 Nov 2013 02:01:42 UTC +00:00], ["name", "contract_be72c383"], ["title", "Neque quo quia aliquam cumque dignissimos et commodi."], ["updated_at", Thu, 14 Nov 2013 02:01:42 UTC +00:00], ["version", nil]]
52059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52060
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
52061
+ Processing by FinePrint::ContractsController#edit as HTML
52062
+ Parameters: {"id"=>"1"}
52063
+ Redirected to http://test.host/
52064
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
52065
+ Processing by FinePrint::ContractsController#edit as HTML
52066
+ Parameters: {"id"=>"1"}
52067
+ Redirected to http://test.host/
52068
+ Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
52069
+  (0.1ms) rollback transaction